From aa9289f551ab8eccc609a97167d0e59fedfafbd4 Mon Sep 17 00:00:00 2001 From: hno <> Date: Thu, 9 Jan 2003 18:50:35 +0000 Subject: [PATCH] Bugzilla #395: Stale cached data miss in offline mode --- src/client_side_reply.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.47.3