tor 2006-05-04 klockan 14:35 +0200 skrev Aurélien Bras: > No cache is purged
Right. Try the attached patch. Regards Henrik
? build.log
? signfile.sh
? contrib/.squid.rc.swp
Index: src/http.c
===================================================================
RCS file: /cvsroot/squid/squid/src/http.c,v
retrieving revision 1.384.2.34
diff -u -p -r1.384.2.34 http.c
--- src/http.c 18 Oct 2005 15:09:56 -0000 1.384.2.34
+++ src/http.c 4 May 2006 14:32:34 -0000
@@ -457,7 +457,7 @@ httpProcessReplyHeader(HttpStateData * h
storeTimestampsSet(entry);
/* Check if object is cacheable or not based on reply code */
debug(11, 3) ("httpProcessReplyHeader: HTTP CODE: %d\n", reply->sline.status);
- if (neighbors_do_private_keys)
+ if (neighbors_do_private_keys && httpState->orig_request.flags.cachable)
httpMaybeRemovePublic(entry, reply->sline.status);
if (httpHeaderHas(&reply->header, HDR_VARY)
#if X_ACCELERATOR_VARY
signature.asc
Description: Detta är en digitalt signerad meddelandedel
