]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Author: hno
authoramosjeffries <>
Sun, 24 Feb 2008 18:29:55 +0000 (18:29 +0000)
committeramosjeffries <>
Sun, 24 Feb 2008 18:29:55 +0000 (18:29 +0000)
Sync store meta assignments with Squid-2.

src/StoreMeta.cc
src/enums.h

index d298d41659bcd566e0e6c5743e662c2ff36b873c..c1e40d227747b8e6cfa7ef66af45fb53a5084310 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: StoreMeta.cc,v 1.6.2.1 2008/02/24 11:29:04 amosjeffries Exp $
+ * $Id: StoreMeta.cc,v 1.6.2.2 2008/02/24 11:29:55 amosjeffries Exp $
  *
  * DEBUG: section 20    Storage Manager Swapfile Metadata
  * AUTHOR: Kostas Anagnostakis
@@ -54,7 +54,9 @@ StoreMeta::validType(char type)
     }
 
     /* Not yet implemented */
-    if (type >= STORE_META_END) {
+    if (type >= STORE_META_END ||
+           type == STORE_META_STOREURL ||
+           type == STORE_META_VARY_ID) {
         debugs(20, 3, "storeSwapMetaUnpack: Not yet implemented (" << type << ") in disk metadata");
         return false;
     }
index 3a6389960bc33f68096a2c37bb6f6d68d934bc20..b630635f18cd9273c075192e75cdd5a01e7e50e0 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: enums.h,v 1.258.2.1 2008/02/24 11:29:04 amosjeffries Exp $
+ * $Id: enums.h,v 1.258.2.2 2008/02/24 11:29:55 amosjeffries Exp $
  *
  *
  * SQUID Web Proxy Cache          http://www.squid-cache.org/
@@ -442,7 +442,8 @@ enum {
     STORE_META_VARY_HEADERS,   /* Stores Vary request headers */
     STORE_META_STD_LFS,         /* standard metadata in lfs format */
     STORE_META_OBJSIZE,         /* object size, not impleemented, squid26 compatibility */
-    /* STORE_META_VARY_ID,     / * Unique ID linking variants */
+    STORE_META_STOREURL,       /* the store url, if different to the normal URL */
+    STORE_META_VARY_ID,                /* Unique ID linking variants */
     STORE_META_END
 };