Roxen.git / server / base_server / configuration.pike

version» Context lines:

Roxen.git/server/base_server/configuration.pike:1:   // This file is part of Internet Server.   // Copyright © 1996 - 2001, Roxen IS.   //      // @appears Configuration   //! A site's main configuration    - constant cvs_version = "$Id: configuration.pike,v 1.524 2002/06/14 16:05:03 jhs Exp $"; + constant cvs_version = "$Id: configuration.pike,v 1.525 2002/06/15 21:03:54 nilsson Exp $";   #include <module.h>   #include <module_constants.h>   #include <roxen.h>   #include <request_trace.h>   #include <timers.h>      #define CATCH(P,X) do{mixed e;if(e=catch{X;})report_error("While "+P+"\n"+describe_backtrace(e));}while(0)      #ifdef THROTTLING_DEBUG   #undef THROTTLING_DEBUG
Roxen.git/server/base_server/configuration.pike:171:    set_weak_flag( ([ ]), 1 );      void connection_add( RequestID id, mapping data )   //! Add a connection. The data mapping can contain things such as   //! currently sent bytes.   //!   //! See protocols/http.pike and slowpipe.pike for more information.   //!   //! You are not in any way forced to use this method from your   //! protocol module. The information is only used for debug purposes - //! in the configuration interface. + //! in the administration interface.   //!   //! You have to keep a reference to the mapping on your own, none is   //! kept by the configuration object.   {    current_connections[id] = data;   }      mapping connection_drop( RequestID id )   //! Remove a connection from the list of currently active connections.   //! Returns the mapping previously added with connection_add, if any.