From: wessels <> Date: Thu, 23 Jul 1998 04:25:18 +0000 (+0000) Subject: RELEASE_REQUEST entries should be considered "expired" in maintain X-Git-Tag: SQUID_3_0_PRE1~3007 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1148b77cdf311df5f2cccdbd2263f00192b641a5;p=thirdparty%2Fsquid.git RELEASE_REQUEST entries should be considered "expired" in maintain swap space --- diff --git a/src/store.cc b/src/store.cc index 66b835b37b..dbf290c4da 100644 --- a/src/store.cc +++ b/src/store.cc @@ -1,6 +1,6 @@ /* - * $Id: store.cc,v 1.431 1998/07/22 20:37:55 wessels Exp $ + * $Id: store.cc,v 1.432 1998/07/22 22:25:18 wessels Exp $ * * DEBUG: section 20 Storage Manager * AUTHOR: Harvest Derived @@ -829,6 +829,8 @@ storeCheckExpired(const StoreEntry * e) { if (storeEntryLocked(e)) return 0; + if (EBIT_TEST(e->flag, RELEASE_REQUEST)) + return 1; if (EBIT_TEST(e->flag, ENTRY_NEGCACHED) && squid_curtime >= e->expires) return 1; if (squid_curtime - e->lastref > storeExpiredReferenceAge())