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.671 2009/04/03 19:47:40 grubba Exp $"; + constant cvs_version = "$Id: configuration.pike,v 1.672 2009/04/17 07:57:40 marty 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:4963:    "Note that the general protocol cache entry size limit "    "applies, so if the compression of dynamic requests is "    "disabled, files larger than the protocol cache maximum "    "file size setting will never be served compressed "    "regardless of this setting."))    ->add_changed_callback(lambda(object v)    { http_compr_maxlen = v->query(); });    http_compr_maxlen = query("http_compression_max_size");       Variable.Int comp_level = -  Variable.Int(5, 0, DLOCALE(1008, "Compression: Compression level"), +  Variable.Int(1, 0, DLOCALE(1008, "Compression: Compression level"),    DLOCALE(1009, "The compression level to use (integer between 1 "    "and 9). Higher number means more compression at the"    " cost of processing power and vice versa. You may "    "need to restart the server for this setting to "    "take effect."));    comp_level->set_range(1, 9);    defvar("http_compression_level", comp_level);    -  defvar("http_compression_dynamic_reqs", 0, +  defvar("http_compression_dynamic_reqs", 1,    DLOCALE(1010, "Compression: Compress dynamic requests"),    TYPE_FLAG,    DLOCALE(1011, "If enabled, even requests that aren't cacheable in the "    "protocol cache will be compressed. If the site has many "    "lightweight requests that are not protocol cacheable, the "    "processing overhead may become relatively large with this "    "setting turned on."))    ->add_changed_callback(lambda(object v)    { http_compr_dynamic_reqs = v->query(); });    http_compr_dynamic_reqs = query("http_compression_dynamic_reqs");