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

Garri Djavadyan garryd at comnet.uz
Sat Nov 12 20:40:07 UTC 2016


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


Garri
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix_bug3533.patch
Type: text/x-diff
Size: 237 bytes
Desc: not available
URL: <http://lists.squid-cache.org/pipermail/squid-dev/attachments/20161113/5680ae40/attachment.patch>


More information about the squid-dev mailing list