From: wessels <> Date: Tue, 29 Oct 1996 09:40:36 +0000 (+0000) Subject: Expire ENTRY_NEGCACHED objects X-Git-Tag: SQUID_3_0_PRE1~5568 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7cc1830f00f9c72a912776643e73bd2b34f09212;p=thirdparty%2Fsquid.git Expire ENTRY_NEGCACHED objects --- diff --git a/src/store.cc b/src/store.cc index f336bb16f6..35d9af8f17 100644 --- a/src/store.cc +++ b/src/store.cc @@ -1,6 +1,6 @@ /* - * $Id: store.cc,v 1.142 1996/10/28 07:44:28 wessels Exp $ + * $Id: store.cc,v 1.143 1996/10/29 02:40:36 wessels Exp $ * * DEBUG: section 20 Storeage Manager * AUTHOR: Harvest Derived @@ -2796,6 +2796,8 @@ storeCheckExpired(StoreEntry * e) { if (storeEntryLocked(e)) return 0; + if (BIT_TEST(e->flag, ENTRY_NEGCACHED) && squid_curtime >= e->expires) + return 1; if (Config.referenceAge && squid_curtime - e->lastref > Config.referenceAge) return 1; return 0;