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.356 2000/08/29 23:54:23 per Exp $"; + constant cvs_version = "$Id: configuration.pike,v 1.357 2000/09/01 00:47:28 mast 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:2053:    {    foreach ((array) old_module->error_log, [string msg, array(int) times])    nm->error_log[msg] += times;       catch( mi->update_with( nm,0 ) ); // This is sort of nessesary...       nm->report_notice(LOC_C(11, "Reloaded %s.\n"), mi->get_name());    // It's possible e.g. in the config interface that the module    // being reloaded is in use for the current request, so delay it a    // little. -  call_out (destruct, 2, old_module); +  //call_out (destruct, 2, old_module); +  // Nope, can't do that since there are things like lookup caches +  // that count on that the old module object is gone before the new +  // is started. +  destruct (old_module);    }       call_start_callbacks( nm, mi, modules[ (modname/"#")[0] ] );       return nm;   }      class ModuleCopies   {    mapping copies = ([]);