[squid-dev] [PATCH] Anticipated connection closure disables chunking
Amos Jeffries
squid3 at treenet.co.nz
Tue May 10 15:16:25 UTC 2016
On 11/05/2016 2:03 a.m., Eduard Bagdasaryan wrote:
> 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.
>
+1. Looks okay to me. Thank you for this.
Amos
More information about the squid-dev
mailing list