Roxen.git / server / base_server / roxen.pike

version» Context lines:

Roxen.git/server/base_server/roxen.pike:1:   // This file is part of Roxen WebServer.   // Copyright © 1996 - 2001, Roxen IS.   //   // The Roxen WebServer main program.   //   // Per Hedbor, Henrik Grubbström, Pontus Hagland, David Hedbor and others.   // ABS and suicide systems contributed freely by Francesco Chemolli    - constant cvs_version="$Id: roxen.pike,v 1.807 2002/10/11 14:36:00 jonasw Exp $"; + constant cvs_version="$Id: roxen.pike,v 1.808 2002/10/14 11:50:07 grubba Exp $";      // The argument cache. Used by the image cache.   ArgCache argcache;      // Some headerfiles   #define IN_ROXEN   #include <roxen.h>   #include <config.h>   #include <module.h>   #include <variables.h>
Roxen.git/server/base_server/roxen.pike:4014:    report_error("\n"+LOC_M(35, "Error while loading configuration %s%s"),    config+":\n", describe_backtrace(err)+"\n");    report_debug("Enabled %s in %.1fms\n", config, (gethrtime()-t)/1000.0 );    }    foreach( configurations, Configuration c )    {    if(sizeof( c->registered_urls ) )    return;    }    report_fatal("No configurations could open any ports. Will shutdown.\n"); -  shutdown(); +  restart(0.0, 50); /* Actually a shutdown, but... */   }      int all_modules_loaded;   void enable_configurations_modules()   {    if( all_modules_loaded++ ) return;    foreach(configurations, Configuration config)    if(mixed err=catch( config->enable_all_modules() ))    report_error(LOC_M(36, "Error while loading modules in "    "configuration %s%s"),