Roxen.git / server / base_server / configuration.pike

version» Context lines:

Roxen.git/server/base_server/configuration.pike:1:   // A vitual server's main configuration   // Copyright © 1996 - 2000, Roxen IS.    - constant cvs_version = "$Id: configuration.pike,v 1.366 2000/09/10 17:19:01 nilsson Exp $"; + constant cvs_version = "$Id: configuration.pike,v 1.367 2000/09/12 22:04:06 per Exp $";   constant is_configuration = 1;   #include <module.h>   #include <module_constants.h>   #include <roxen.h>   #include <request_trace.h>      inherit "basic_defvar";      mapping enabled_modules = ([]);   mapping(string:array(int)) error_log=([]);
Roxen.git/server/base_server/configuration.pike:2289:    if( me->no_delayed_load && got_no_delayed_load >= 0 )    got_no_delayed_load = 1;       return me;   }      void call_start_callbacks( RoxenModule me,    ModuleInfo moduleinfo,    ModuleCopies module )   { +  if(!me) return; +  if(!moduleinfo) return; +  if(!module) return; +     call_low_start_callbacks( me, moduleinfo, module );       mixed err;    if((me->start) && (err = catch( me->start(0, this_object()) ) ) )    {   #ifdef MODULE_DEBUG    if (enable_module_batch_msgs)    report_debug("\bERROR\n");   #endif    string bt=describe_backtrace(err);
Roxen.git/server/base_server/configuration.pike:2324:    report_error( "While calling ready_to_receive_requests:\n"+    describe_backtrace( q ) );    got_no_delayed_load = -1;    }   }      void call_low_start_callbacks( RoxenModule me,    ModuleInfo moduleinfo,    ModuleCopies module )   { +  if(!me) return; +  if(!moduleinfo) return; +  if(!module) return; +     int module_type = moduleinfo->type, pr;    mixed err;    if (err = catch(pr = me->query("_priority")))    {   #ifdef MODULE_DEBUG    if (enable_module_batch_msgs) report_debug("\bERROR\n");   #endif    string bt=describe_backtrace(err);    report_error(LOC_M(41, "Error while initiating module copy of %s%s"),    moduleinfo->get_name(), (bt ? ":\n"+bt : "\n"));