]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Policy change on half_closed_clients setting
authorAmos Jeffries <squid3@treenet.co.nz>
Sat, 17 Jan 2009 02:40:35 +0000 (15:40 +1300)
committerAmos Jeffries <squid3@treenet.co.nz>
Sat, 17 Jan 2009 02:40:35 +0000 (15:40 +1300)
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

index 91e6b9ee808708f7bec3db860c6314aa9558edfb..1335fa42ed0024375b2c23dcf74c3eb7727de01d 100644 (file)
@@ -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