[squid-dev] [PATCH] Anticipated connection closure disables chunking
rousskov at measurement-factory.com
Tue May 10 23:13:05 UTC 2016
On 05/10/2016 09:16 AM, Amos Jeffries wrote:
> On 11/05/2016 2:03 a.m., Eduard Bagdasaryan wrote:
>> 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.
> +1. Looks okay to me. Thank you for this.
Committed to trunk (r14666).
More information about the squid-dev