[squid-dev] [PATCH] Mark aborted RESPMOD bodies as truncated

Alex Rousskov rousskov at measurement-factory.com
Mon Aug 24 21:11:45 UTC 2015


On 08/19/2015 11:16 PM, Amos Jeffries wrote:
> On 19/08/2015 10:31 a.m., Alex Rousskov wrote:
>> Hello,
>>
>>     When an adaptation service aborts a transaction (for whatever
>> reason), the attached patch marks the body produced by that service as
>> truncated.
>>
>> Without these changes, the recipient of the truncated body (e.g., HTTP
>> client) often cannot tell that the body was actually truncated. This may
>> happen, for example, when Squid uses chunked encoding for body delivery.
>> Lying about truncation may result in rather serious user-level problems.
>>
>> I do not know whether these changes fix all related bugs, but they do
>> help in several eCAP truncation cases we know about.
>>
> 
> +1. At least its some improvement. Thanks.


Committed to trunk (r14248).


Thank you,

Alex.



More information about the squid-dev mailing list