[squid-dev] [PATCH] chop() should always clear empty buffers

Amos Jeffries squid3 at treenet.co.nz
Fri Jul 24 23:15:00 UTC 2015


On 25/07/2015 10:35 a.m., Alex Rousskov wrote:
> Hello,
> 
>     Triage of another trunk bug (see the next email) led me to a problem
> in SBuf::chop() that the attached patch attempts to address.
> 
> The old chop() code was trying to make the clearance decision ASAP,
> without normalizing parameters first and missed most clearance cases as
> the result.

+1. Please apply ASAP.

Amos



More information about the squid-dev mailing list