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.594 2005/10/23 15:09:44 jonasw Exp $"; + constant cvs_version = "$Id: configuration.pike,v 1.595 2005/11/24 15:31:06 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:222:    mapping(string:array(string|mapping(string:mixed))) cache = ([]);       int current_size;    int max_size;    int max_file_size;       int hits, misses;       void flush()    { + #ifndef RAM_CACHE_NO_RELOAD_FLUSH    current_size = 0;    cache = ([]); -  + #endif    }       static void clear_some_cache()    {    array q = indices( cache );    if(!sizeof(q))    {    current_size=0;    return;    }