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.658 2008/10/12 22:14:03 mast Exp $"; + constant cvs_version = "$Id: configuration.pike,v 1.659 2008/11/19 02:07:24 mast 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)      // Tell Pike.count_memory this is global.   constant pike_cycle_depth = 0;
Roxen.git/server/base_server/configuration.pike:3479:       nm->report_notice(LOC_C(11, "Reloaded %s.")+"\n", mi->get_name());    RXML.set_context (old_ctx);    return nm;       };    RXML.set_context (old_ctx);    throw (err);   }    + void reload_all_modules() + { +  if (!inited) +  enable_all_modules(); +  else { +  foreach (enabled_modules; string modname;) +  reload_module (modname); +  } + } +    #ifdef THREADS   Thread.Mutex enable_modules_mutex = Thread.Mutex();   #define MODULE_LOCK(TYPE) \    Thread.MutexKey enable_modules_lock = enable_modules_mutex->lock (TYPE)   #else   #define MODULE_LOCK(TYPE)   #endif      protected int enable_module_batch_msgs;   
Roxen.git/server/base_server/configuration.pike:4735:    defvar("URLs",    Variable.PortList( ({"http://*/#ip=;nobind=0;"}), VAR_INITIAL|VAR_NO_DEFAULT,    DLOCALE(38, "Ports: URLs"),    DLOCALE(373, "Bind to these URLs. You can use '*' and '?' to perform"    " globbing (using any of these will default to binding to "    "all IP-numbers on your machine). If you specify a IP# in "    "the field it will take precedence over the hostname.")));       defvar("InternalLoc", internal_location,    DLOCALE(40, "Internal module resource mountpoint"), -  TYPE_LOCATION|VAR_MORE|VAR_DEVELOPER, +  TYPE_LOCATION|VAR_MORE,    DLOCALE(41, "Some modules may want to create links to internal "    "resources. This setting configures an internally handled "    "location that can be used for such purposes. Simply select "    "a location that you are not likely to use for regular "    "resources."))    ->add_changed_callback(lambda(object v) { internal_location = v->query(); });       defvar("SubRequestLimit", sub_req_limit,    "Subrequest depth limit",    TYPE_INT | VAR_MORE,