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 - 2009, Roxen IS.   //      // @appears Configuration   //! A site's main configuration    - constant cvs_version = "$Id: configuration.pike,v 1.699 2010/06/06 12:08:47 mast Exp $"; + constant cvs_version = "$Id: configuration.pike,v 1.700 2010/06/06 12:10:25 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:705: Inside #if defined(SNMP_AGENT)
  #ifdef SNMP_AGENT    if(query("snmp_process") && objectp(roxen->snmpagent)) {    roxen->snmpagent->vs_stop_trap(get_config_id());    roxen->snmpagent->del_virtserv(get_config_id());    }   #endif       unregister_urls();       roxen.handle (do_stop_all_modules, lock); +  } +     if (!asynch) stop_all_modules_mutex->lock (1);   } - } +       string|array(string) type_from_filename( string file, int|void to,    string|void myext )   {    array(string)|string tmp;    if(!types_fun)    return to?({ "application/octet-stream", 0 }):"application/octet-stream";       string ext = lower_case(myext || Roxen.extension(file));