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

version» Context lines:

Roxen.git/server/plugins/protocols/http.pike:1:   // This is a ChiliMoon protocol module.   // Modified by Francesco Chemolli to add throttling capabilities.   // Copyright © 1996 - 2001, Roxen IS.    - constant cvs_version = "$Id: http.pike,v 1.397 2004/05/20 22:09:19 _cvs_stephen Exp $"; + constant cvs_version = "$Id: http.pike,v 1.398 2004/05/23 02:35:26 _cvs_stephen Exp $";   // #define REQUEST_DEBUG   #define MAGIC_ERROR      // HTTP protocol module.   #include <config.h>   #define TIMER_PREFIX "http:"   #include <timers.h>      inherit RequestID;   
Roxen.git/server/plugins/protocols/http.pike:574: Inside #if defined(OLD_RXML_CONFIG)
   if(config_in_url) {    //REQUEST_WERR("HTTP: parse_got(): config_in_url");    really_set_config( mod_config );    return 1;    }   #endif    if(!supports->cookies)    config = prestate;    else    if( port_obj->set_cookie -  && !cookies->RoxenUserID && strlen(not_query) +  && !cookies->ChiliMoonUserID && strlen(not_query)    && not_query[0]=='/' && method!="PUT")    {    if (!(port_obj->set_cookie_only_once &&    cache_lookup("hosts_for_cookie",remoteaddr)))    misc->moreheads = ([ "Set-Cookie":Roxen.http_roxen_id_cookie(), ]);    if (port_obj->set_cookie_only_once)    cache_set("hosts_for_cookie",remoteaddr,1);    }       if( mixed q = real_variables->magic_roxen_automatic_charset_variable )