From: Fabian Keil Date: Fri, 27 Nov 2009 13:47:34 +0000 (+0000) Subject: Document the default-server-timeout config option. X-Git-Tag: v_3_0_16~116 X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=commitdiff_plain;h=534172d609b8f71e689e509580320dab4c77ff9b Document the default-server-timeout config option. --- diff --git a/doc/source/p-config.sgml b/doc/source/p-config.sgml index e2946ef1..57ff8989 100644 --- a/doc/source/p-config.sgml +++ b/doc/source/p-config.sgml @@ -3,7 +3,7 @@ Purpose : Used with other docs and files only. - $Id: p-config.sgml,v 2.52 2009/06/03 18:30:18 fabiankeil Exp $ + $Id: p-config.sgml,v 2.53 2009/06/12 11:53:33 fabiankeil Exp $ Copyright (C) 2001-2009 Privoxy Developers http://www.privoxy.org/ See LICENSE. @@ -97,7 +97,7 @@ Sample Configuration File for Privoxy v&p-version; - $Id: p-config.sgml,v 2.52 2009/06/03 18:30:18 fabiankeil Exp $ + $Id: p-config.sgml,v 2.53 2009/06/12 11:53:33 fabiankeil Exp $ Copyright (C) 2001-2009 Privoxy Developers http://www.privoxy.org/ @@ -2553,6 +2553,87 @@ forward-socks4, forward-socks4a and forward-socks5 +default-server-timeout + + + Specifies: + + + Assumed server-side keep-alive timeout if not specified by the server. + + + + + Type of value: + + + Time in seconds. + + + + + Default value: + + None + + + + Effect if unset: + + + Connections for which the server didn't specify the keep-alive + timeout are not reused. + + + + + Notes: + + + Enabling this option significantly increases the number of connections + that are reused, provided the keep-alive-timeout option + is also enabled. + + + While it also increases the number of connections problems + when &my-app; tries to reuse a connection that already has + been closed on the server side, or is closed while &my-app; + is trying to reuse it, this should only be a problem if it + happens for the first request sent by the client. If it happens + for requests on reused client connections, &my-app; will simply + close the connection and the client is supposed to retry the + request without bothering the user. + + + Enabling this option is therefore only recommended if the + connection-sharing option + is disabled. + + + It is an error to specify a value larger than the keep-alive-timeout value. + + + This option has no effect if Privoxy + has been compiled without keep-alive support. + + + + + Examples: + + + default-server-timeout 60 + + + + +@@#default-server-timeout 60]]> + + + connection-sharing