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 - 2004, Roxen IS.   //      // @appears Configuration   //! A site's main configuration    - constant cvs_version = "$Id: configuration.pike,v 1.588 2005/02/08 13:20:18 mast Exp $"; + constant cvs_version = "$Id: configuration.pike,v 1.589 2005/02/25 14:56:33 grubba 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)      // --- Locale defines ---   //<locale-token project="roxen_start"> LOC_S </locale-token>
Roxen.git/server/base_server/configuration.pike:2278: Inside #if defined(URL_MODULES)
   if(mappingp( tmp )) {    id->not_query = of;    TRACE_LEAVE("");    TRACE_LEAVE("Returned 'No thanks'.");    return 0;    }    if(objectp( tmp ))    {    mixed err;    id->misc->stat_file_nest++; -  id->not_query = of; +     TRACE_LEAVE("Recursing");    err = catch {    if( id->misc->stat_file_nest < 20 ) -  tmp = (id->conf || this_object())->stat_file( file, id ); +  tmp = (id->conf || this_object())->stat_file(id->not_query, id );    else    error("Too deep recursion in roxen::stat_file() while mapping "    +file+".\n");    }; -  +  id->not_query = of;    id->misc->stat_file_nest = 0;    if(err)    throw(err);    TRACE_LEAVE("");    TRACE_LEAVE("Returning data");    return tmp;    }    }    TRACE_LEAVE("");    }