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.631 2008/01/10 15:38:49 jonasw Exp $"; + constant cvs_version = "$Id: configuration.pike,v 1.632 2008/02/28 19:37:44 jonasw 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:4088:      DataCache datacache;      static void create()   {    if (!name) error ("Configuration name not set through bootstrap_info.\n");   // int st = gethrtime();    roxen.add_permission( "Site:"+name, LOC_C(306,"Site")+": "+name );       // for now only these two. In the future there might be more variables. -  defvar( "data_cache_size", 16384, DLOCALE(274, "Cache:Cache size"), +  defvar( "data_cache_size", 131072, DLOCALE(274, "Cache:Cache size"),    TYPE_INT| VAR_PUBLIC,    DLOCALE(275, "The size of the data cache used to speed up requests "    "for commonly requested files, in KBytes"));    -  defvar( "data_cache_file_max_size", 100, DLOCALE(276, "Cache:Max file size"), +  defvar( "data_cache_file_max_size", 256, DLOCALE(276, "Cache:Max file size"),    TYPE_INT | VAR_PUBLIC,    DLOCALE(277, "The maximum size of a file that is to be considered for "    "the cache, in KBytes."));          defvar("default_server", 0, DLOCALE(20, "Ports: Default site"),    TYPE_FLAG| VAR_PUBLIC,    DLOCALE(21, "If true, this site will be selected in preference of "    "other sites when virtual hosting is used and no host "    "header is supplied, or the supplied host header does not "