From: hno <> Date: Wed, 12 Mar 2003 06:05:23 +0000 (+0000) Subject: Increase the size of HttpHeaderMask to accomodate for all the new X-Git-Tag: SQUID_3_0_PRE1~265 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b8ef02399f90bc64686fbcaf93b6812ee79405ed;p=thirdparty%2Fsquid.git Increase the size of HttpHeaderMask to accomodate for all the new 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) --- diff --git a/src/typedefs.h b/src/typedefs.h index 5b130a1b56..5f0db0abd5 100644 --- a/src/typedefs.h +++ b/src/typedefs.h @@ -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);