X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=blobdiff_plain;f=project.h;h=e5c076d60a7622217d4a3d8ccdb97f830672bfe0;hp=5eab88fbe8a4c40c5d30d7e37c9024125079b489;hb=54b4e8c141117d636f6113ec4c43579248b77ed7;hpb=25fc4d8f8d4e53ec0f7b1ff4ecc5a9e6301cd6c0 diff --git a/project.h b/project.h index 5eab88fb..e5c076d6 100644 --- a/project.h +++ b/project.h @@ -1,7 +1,7 @@ #ifndef PROJECT_H_INCLUDED #define PROJECT_H_INCLUDED /** Version string. */ -#define PROJECT_H_VERSION "$Id: project.h,v 1.151 2009/10/04 15:45:11 fabiankeil Exp $" +#define PROJECT_H_VERSION "$Id: project.h,v 1.153 2009/11/27 13:46:47 fabiankeil Exp $" /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/project.h,v $ @@ -1148,6 +1148,9 @@ struct access_control_list /** configuration_spec::feature_flags: Share outgoing connections between different client connections. */ #define RUNTIME_FEATURE_CONNECTION_SHARING 256U +/** configuration_spec::feature_flags: Pages blocked with +handle-as-empty-doc get a return status of 200 OK. */ +#define RUNTIME_FEATURE_EMPTY_DOC_RETURNS_OK 512U + /** * Data loaded from the configuration file. * @@ -1174,6 +1177,7 @@ struct configuration_spec * - RUNTIME_FEATURE_CGI_CRUNCHING * - RUNTIME_FEATURE_CONNECTION_KEEP_ALIVE * - RUNTIME_FEATURE_CONNECTION_SHARING + * - RUNTIME_FEATURE_EMPTY_DOC_RETURNS_OK */ unsigned feature_flags; @@ -1257,6 +1261,9 @@ struct configuration_spec #ifdef FEATURE_CONNECTION_KEEP_ALIVE /* Maximum number of seconds after which an open connection will no longer be reused. */ unsigned int keep_alive_timeout; + + /* Assumed server-side keep alive timeout if none is specified. */ + unsigned int default_server_timeout; #endif /** All options from the config file, HTML-formatted. */