Re: /bzr/squid3/trunk/ r11978: Do not add HTTP 110 and 111 Warnings to TCP_REFRESH_UNMODIFIED responses.

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Sat, 21 Jan 2012 14:11:49 +1300

On 21/01/2012 12:24 p.m., Alex Rousskov wrote:
> On 01/20/2012 04:28 PM, Alex Rousskov wrote:
>> ------------------------------------------------------------
>> revno: 11978
>> committer: Alex Rousskov<rousskov_at_measurement-factory.com>
>> branch nick: trunk
>> timestamp: Fri 2012-01-20 16:28:14 -0700
>> message:
>> Do not add HTTP 110 and 111 Warnings to TCP_REFRESH_UNMODIFIED responses.
>>
>> The old "stale if hit" logic did not account for cases where the stored stale
>> response became fresh due to a successful revalidation with the origin server.
>> When the stored response was stale at the time of the request, we were adding
>> 110 "Response is stale" and even 111 "Revalidation failed" Warning headers to
>> responses while logging TCP_REFRESH_UNMODIFIED, which is considered a hit.
>> modified:
>> src/client_side_reply.cc
>
> Hi Amos,
>
> This one-line fix is needed in v3.2 and v3.1. I did not find any bug
> reports referencing this.
>
> Thank you,
>
> Alex.

Porting now.

Amos
Received on Sat Jan 21 2012 - 01:12:08 MST

This archive was generated by hypermail 2.2.0 : Sat Jan 21 2012 - 12:00:09 MST