]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Sync store meta assignments with Squid-2.
authorhno <>
Sat, 15 Dec 2007 03:07:15 +0000 (03:07 +0000)
committerhno <>
Sat, 15 Dec 2007 03:07:15 +0000 (03:07 +0000)
src/StoreMeta.cc
src/enums.h

index 62db930241ea779cd379cb3462260dfb580a1028..ae656d2cad7345ac25bbd583f4933bc3f70c2355 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: StoreMeta.cc,v 1.7 2007/12/14 19:48:51 hno Exp $
+ * $Id: StoreMeta.cc,v 1.8 2007/12/14 20:07:15 hno 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 72da6d4a5c0265b9d7c7238c941c7966ebe5e127..5aea411e67cc13b26b95255e8f47b411fbcd0d28 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: enums.h,v 1.259 2007/12/14 19:48:51 hno Exp $
+ * $Id: enums.h,v 1.260 2007/12/14 20:07:15 hno 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
 };