]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
RELEASE_REQUEST entries should be considered "expired" in maintain
authorwessels <>
Thu, 23 Jul 1998 04:25:18 +0000 (04:25 +0000)
committerwessels <>
Thu, 23 Jul 1998 04:25:18 +0000 (04:25 +0000)
swap space

src/store.cc

index 66b835b37b81f8b02b9169e1cf91dace7d04e279..dbf290c4dab4eb529455790b2de5c9e5ac4306bf 100644 (file)
@@ -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())