[squid-dev] [PATCH] Anticipated connection closure disables chunking

Eduard Bagdasaryan eduard.bagdasaryan at measurement-factory.com
Tue May 10 14:03:15 UTC 2016


Hello,

This patch allows chunking the last HTTP response on a connection.
Squid should avoid signaling the message end by connection closure
because it hurts message integrity and sometimes performance. Squid
now chunks if:

   1. the response has a body;
   2. the client claims HTTP/1.1 support; and
   3. Squid is not going to send a Content-Length header.

Squid used to exclude to-be-closed connections from chunking
because chunking support was added (trunk r10781) specifically to
optimize persistent connection reuse and closing connections were
incorrectly excluded as a non-interesting/out-of-scope case.

Regards,
Eduard.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-dev/attachments/20160510/6a6b8ee8/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: SQUID-173-anticipated-connection-closure-disables-chunking-t2.patch
Type: text/x-patch
Size: 4083 bytes
Desc: not available
URL: <http://lists.squid-cache.org/pipermail/squid-dev/attachments/20160510/6a6b8ee8/attachment.bin>


More information about the squid-dev mailing list