Roxen.git / server / plugins / protocols / ftp.pike

version» Context lines:

Roxen.git/server/plugins/protocols/ftp.pike:1:   // This is a roxen protocol module.   // Copyright © 1997 - 2001, Roxen IS.      /*    * FTP protocol mk 2    * -  * $Id: ftp.pike,v 2.96 2004/05/17 16:38:23 mani Exp $ +  * $Id: ftp.pike,v 2.97 2004/05/20 23:31:10 _cvs_stephen Exp $    *    * Henrik Grubbström <grubba@roxen.com>    */      /*    * TODO:    *    * How much is supposed to be logged?    */   
Roxen.git/server/plugins/protocols/ftp.pike:104:   #define BACKEND_CLOSE(FD) do { DWRITE("close\n"); FD->set_blocking(); call_out(FD->close, 0); FD = 0; } while(0)   #else /* !constant(thread_create) */   #define BACKEND_CLOSE(FD) do { DWRITE("close\n"); FD->set_blocking(); FD->close(); FD = 0; } while(0)   #endif /* constant(thread_create) */      class RequestID2   {    inherit RequestID;       mapping file; +  mapping mastermisc;      #ifdef FTP2_DEBUG    static void trace_enter(mixed a, mixed b)    {    write("FTP: TRACE_ENTER(%O, %O)\n", a, b);    }       static void trace_leave(mixed a)    {    write("FTP: TRACE_LEAVE(%O)\n", a);
Roxen.git/server/plugins/protocols/ftp.pike:156:       void end()    {    }       constant __num = ({ 0 });    int _num;       void destroy()    { +  mastermisc = 0;   #ifdef FTP_REQUESTID_DEBUG    report_debug("REQUESTID: Destroy request id #%d.\n", _num);   #endif    }       void create(object|void m_rid)    {   #ifdef FTP_REQUESTID_DEBUG    _num = ++__num[0];    if (m_rid) {
Roxen.git/server/plugins/protocols/ftp.pike:204: Inside #if defined(FTP2_DEBUG)
  #ifdef FTP2_DEBUG    }) {    report_error("FTP2: "    "Failed to copy variable %s (value:%O)\n",    var, m_rid[var]);    }   #endif /* FTP2_DEBUG */    }    }    o["misc"] = m_rid["misc"] + ([ ]); +  mastermisc = m_rid->misc;    } else {    // Defaults...    client = ({ "ftp" });    prot = "FTP";    clientprot = "FTP";    real_variables = ([]);    variables = FakedVariables( real_variables );    misc = ([ "pref_languages" : PrefLanguages() ]);    cookies = ([]);    throttle = ([]);