]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
don't release SPECIAL object memory during storeSwapout. These objects
authorhno <>
Tue, 18 Dec 2001 03:20:43 +0000 (03:20 +0000)
committerhno <>
Tue, 18 Dec 2001 03:20:43 +0000 (03:20 +0000)
are kept in memory only.

src/store_swapout.cc

index 936aed930b41765c212a495b6dc29b73f429eae0..e4f2e2dc64def007e3133bd346756bd115ad5644 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: store_swapout.cc,v 1.84 2001/11/13 17:30:45 hno Exp $
+ * $Id: store_swapout.cc,v 1.85 2001/12/17 20:20:43 hno Exp $
  *
  * DEBUG: section 20    Storage Manager Swapout Functions
  * AUTHOR: Duane Wessels
@@ -115,6 +115,10 @@ storeSwapOut(StoreEntry * e)
        storeSwapOutFileClose(e);
        return;
     }
+    if (EBIT_TEST(e->flags, ENTRY_SPECIAL)) {
+       debug(20, 3) ("storeSwapOut: %s SPECIAL\n", storeUrl(e));
+       return;
+    }
     debug(20, 7) ("storeSwapOut: mem->inmem_lo = %d\n",
        (int) mem->inmem_lo);
     debug(20, 7) ("storeSwapOut: mem->inmem_hi = %d\n",