From cc2303f7d2f4402a482c5836d3431d1350d7ce66 Mon Sep 17 00:00:00 2001 From: Amos Jeffries Date: Sat, 17 Jan 2009 15:40:35 +1300 Subject: [PATCH] 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 --- src/cf.data.pre | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/src/cf.data.pre b/src/cf.data.pre index 91e6b9ee80..1335fa42ed 100644 --- a/src/cf.data.pre +++ b/src/cf.data.pre @@ -3205,16 +3205,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 -- 2.47.2