From: hno <> Date: Sun, 4 Apr 2004 19:52:42 +0000 (+0000) Subject: Bug #876: Incomplete objects may appear stuck in the cache X-Git-Tag: SQUID_3_0_PRE4~1114 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=61d076ffdcb88a7736773172a35786fad72fb2c2;p=thirdparty%2Fsquid.git Bug #876: Incomplete objects may appear stuck in the cache Under certain conditions incomplete objects may appear stuck in the cache, not even reload giving a new fresh copy. --- diff --git a/src/client_side_reply.cc b/src/client_side_reply.cc index a8cb02ca42..4a024bdcb9 100644 --- a/src/client_side_reply.cc +++ b/src/client_side_reply.cc @@ -1,6 +1,6 @@ /* - * $Id: client_side_reply.cc,v 1.68 2004/04/03 14:25:59 hno Exp $ + * $Id: client_side_reply.cc,v 1.69 2004/04/04 13:52:42 hno Exp $ * * DEBUG: section 88 Client-side Reply Routines * AUTHOR: Robert Collins (Originally Duane Wessels in client_side.c) @@ -1547,17 +1547,6 @@ clientReplyContext::identifyFoundObject(StoreEntry *newEntry) return; } -#if HTTP_VIOLATIONS - if (http->storeEntry()->store_status == STORE_PENDING) { - if (r->flags.nocache || r->flags.nocache_hack) { - debug(85, 3) ("Clearing no-cache for STORE_PENDING request\n\t%s\n", - storeUrl(http->storeEntry())); - r->flags.nocache = 0; - r->flags.nocache_hack = 0; - } - } - -#endif if (r->flags.nocache) { debug(85, 3) ("clientProcessRequest2: no-cache REFRESH MISS\n"); http->storeEntry(NULL);