Roxen.git / server / base_server / configuration.pike

version» Context lines:

Roxen.git/server/base_server/configuration.pike:1:   // This file is part of Roxen WebServer.   // Copyright © 1996 - 2004, Roxen IS.   //      // @appears Configuration   //! A site's main configuration    - constant cvs_version = "$Id: configuration.pike,v 1.630 2007/01/03 12:41:19 grubba Exp $"; + constant cvs_version = "$Id: configuration.pike,v 1.631 2007/02/01 15:47:16 grubba 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)      // --- Locale defines ---   //<locale-token project="roxen_start"> LOC_S </locale-token>
Roxen.git/server/base_server/configuration.pike:193:   //! 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.   { -  m_delete( current_connections, id ); +  return m_delete( current_connections, id );   }      mapping(RequestID:mapping) connection_get( )   //! Return all currently active connections.   {    return current_connections;   }      // It's nice to have the name when the rest of __INIT executes.   string name = roxen->bootstrap_info->get();