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

Amos Jeffries squid3 at treenet.co.nz
Thu Aug 20 05:16:43 UTC 2015


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.

Amos



More information about the squid-dev mailing list