[squid-dev] [PATCH] suffix parsing and skipping

Alex Rousskov rousskov at measurement-factory.com
Fri Jul 24 04:41:46 UTC 2015


On 07/23/2015 11:11 AM, Amos Jeffries wrote:

> Particular since the full fix is a one-liner in consumeTrailing() in
> place of that comment, and currently affecting no other code that would
> need auditing.
> That one-liner being identical to the matching code in consume():
>     parsed_ += result.length();

I doubt this is the right fix because some of the callers that will use
parsedSize() may only care about the consumed prefix bytes. However, I
will include this fix in the patch to avoid further discussion.

Alex.



More information about the squid-dev mailing list