From: hno <> Date: Thu, 9 Jan 2003 18:50:35 +0000 (+0000) Subject: Bugzilla #395: Stale cached data miss in offline mode X-Git-Tag: SQUID_3_0_PRE1~467 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aa9289f551ab8eccc609a97167d0e59fedfafbd4;p=thirdparty%2Fsquid.git Bugzilla #395: Stale cached data miss in offline mode --- diff --git a/src/client_side_reply.cc b/src/client_side_reply.cc index 6b0c3dd32f..cc600504c1 100644 --- a/src/client_side_reply.cc +++ b/src/client_side_reply.cc @@ -1,6 +1,6 @@ /* - * $Id: client_side_reply.cc,v 1.27 2002/12/27 10:26:33 robertc Exp $ + * $Id: client_side_reply.cc,v 1.28 2003/01/09 11:50:35 hno Exp $ * * DEBUG: section 88 Client-side Reply Routines * AUTHOR: Robert Collins (Originally Duane Wessels in client_side.c) @@ -629,7 +629,7 @@ clientCacheHit(void *data, StoreIOBuffer result) if (e->mem_status == IN_MEMORY) http->logType = LOG_TCP_MEM_HIT; clientSendMoreData(context, result); - } else if (refreshCheckHTTP(e, r) && !http->flags.internal) { + } else if (!config.onoff.offline && refreshCheckHTTP(e, r) && !http->flags.internal) { debug(88, 5) ("clientCacheHit: in refreshCheck() block\n"); /* * We hold a stale copy; it needs to be validated