]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Increase the size of HttpHeaderMask to accomodate for all the new
authorhno <>
Wed, 12 Mar 2003 06:05:23 +0000 (06:05 +0000)
committerhno <>
Wed, 12 Mar 2003 06:05:23 +0000 (06:05 +0000)
headers known to Squid. The new SURROGATE* headers just pushed it
over the magic 64 limit if X_ACCELERATOR_VARY is also enabled..

This change allows for 32 more headers to be defined (increase from
8 to 12 bytes in size)

src/typedefs.h

index 5b130a1b566e44cb15c0b817a684179442f0e797..5f0db0abd57dcc9d8c7708bc4b8175de0a13c46e 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: typedefs.h,v 1.159 2003/03/08 09:35:16 robertc Exp $
+ * $Id: typedefs.h,v 1.160 2003/03/11 23:05:23 hno Exp $
  *
  *
  * SQUID Web Proxy Cache          http://www.squid-cache.org/
@@ -355,7 +355,7 @@ typedef ssize_t mb_size_t;
 typedef ssize_t HttpHeaderPos;
 
 /* big mask for http headers */
-typedef char HttpHeaderMask[8];
+typedef char HttpHeaderMask[12];
 
 /* a common objPackInto interface; used by debugObj */
 typedef void (*ObjPackMethod) (void *obj, Packer * p);