]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Expire ENTRY_NEGCACHED objects
authorwessels <>
Tue, 29 Oct 1996 09:40:36 +0000 (09:40 +0000)
committerwessels <>
Tue, 29 Oct 1996 09:40:36 +0000 (09:40 +0000)
src/store.cc

index f336bb16f62defc38f8bff45a66d732eac396ce0..35d9af8f17469b69a45ba0f2f9d89b6e88a42e75 100644 (file)
@@ -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;