From: Amos Jeffries Date: Wed, 14 Jan 2009 03:20:26 +0000 (+1300) Subject: Policy change on half_closed_clients setting X-Git-Tag: SQUID_3_2_0_1~1263 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0c2f5c4ffed6bfb95c7fae13fe4cfb0923d33e06;p=thirdparty%2Fsquid.git Policy change on half_closed_clients setting In Accordance with RFC: http://www.mail-archive.com/squid-users@squid-cache.org/msg58658.html It is not being removed entirely due to: http://www.mail-archive.com/squid-dev@squid-cache.org/msg09338.html --- diff --git a/src/cf.data.pre b/src/cf.data.pre index 16ecdf8014..9c55908b85 100644 --- a/src/cf.data.pre +++ b/src/cf.data.pre @@ -3542,16 +3542,20 @@ DOC_END NAME: half_closed_clients TYPE: onoff LOC: Config.onoff.half_closed_clients -DEFAULT: on +DEFAULT: off DOC_START Some clients may shutdown the sending side of their TCP connections, while leaving their receiving sides open. Sometimes, Squid can not tell the difference between a half-closed and a - fully-closed TCP connection. By default, half-closed client - connections are kept open until a read(2) or write(2) on the - socket returns an error. Change this option to 'off' and Squid - will immediately close client connections when read(2) returns - "no more data to read." + fully-closed TCP connection. + + By default, Squid will immediately close client connections when + read(2) returns "no more data to read." + + Change this option to 'off' and Squid will keep open connections + until a read(2) or write(2) on the socket returns an error. + This may show some benefits for reverse proxies. But if not + it is recommended to leave OFF. DOC_END NAME: pconn_timeout