[squid-dev] [PATCH] Fix for the bug 3533

Amos Jeffries squid3 at treenet.co.nz
Mon Nov 14 13:20:04 UTC 2016


On 13/11/2016 9:40 a.m., Garri Djavadyan wrote:
> Dear developers,
> 
> The attached patch fixes the bug 3533 [1], still existing in trunk
> (revno: 14938). The problem relates to the fact that the code 303
> (scSeeOther) is not considered by Squid as a one permitted to remove
> public store entries. Below is excerpt from src/http.cc:
> 
>    180    /// Remove an existing public store entry if the incoming
> response (to be
>    181    /// stored in a currently private entry) is going to
> invalidate it.
>    182    static void
>    183    httpMaybeRemovePublic(StoreEntry * e, Http::StatusCode status)
> 
> I've successfully replicated the issue and the patch solved the problem
> in my test environment.
> 
> 
> [1] http://bugs.squid-cache.org/show_bug.cgi?id=3533
> 

Thanks. Applied to Squid-5 as r14940.

Amos




More information about the squid-dev mailing list