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.833 2003/04/14 19:24:47 mast Exp $"; + constant cvs_version="$Id: roxen.pike,v 1.834 2003/05/26 11:21:37 mast Exp $";      //! @appears roxen   //!   //! The Roxen WebServer main program.      // The argument cache. Used by the image cache.   ArgCache argcache;      // Some headerfiles   #define IN_ROXEN
Roxen.git/server/base_server/roxen.pike:428:      // Function that actually shuts down Roxen. (see low_shutdown).   private void really_low_shutdown(int exit_code)   {    // Die nicely. Catch for paranoia reasons   #ifdef THREADS    catch (stop_handler_threads());   #endif /* THREADS */    destruct (cache);    catch { + #if 0    if (exit_code)    report_notice("Restarting Roxen.\n");    else    report_notice("Shutting down Roxen.\n"); -  + #else +  report_notice("Restarting or shutting down Roxen.\n"); + #endif    };    exit( exit_code ); // Now we die...   }      private int _recurse;      // Shutdown Roxen   // exit_code = 0 True shutdown   // exit_code = -1 Restart   private void low_shutdown(int exit_code)