From: hno <> Date: Fri, 2 Feb 2001 02:48:25 +0000 (+0000) Subject: Uppered the metadata swapin element length from 1<<10 to 1<<16 bytes. This X-Git-Tag: SQUID_3_0_PRE1~1614 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5ba01c92a0e4af4979c9ae4eff69ab26783fce2b;p=thirdparty%2Fsquid.git Uppered the metadata swapin element length from 1<<10 to 1<<16 bytes. This was causing bogous swapin warnings on long URL's (>1024 characters). --- diff --git a/src/store_swapmeta.cc b/src/store_swapmeta.cc index 0693a0cfce..2ccbdd2705 100644 --- a/src/store_swapmeta.cc +++ b/src/store_swapmeta.cc @@ -1,6 +1,6 @@ /* - * $Id: store_swapmeta.cc,v 1.14 2001/01/12 00:37:22 wessels Exp $ + * $Id: store_swapmeta.cc,v 1.15 2001/02/01 19:48:25 hno Exp $ * * DEBUG: section 20 Storage Manager Swapfile Metadata * AUTHOR: Kostas Anagnostakis @@ -135,7 +135,7 @@ storeSwapMetaUnpack(const char *buf, int *hdr_len) break; } xmemcpy(&length, &buf[j], sizeof(int)); - if (length < 0 || length > (1 << 10)) { + if (length < 0 || length > (1 << 16)) { debug(20, 0) ("storeSwapMetaUnpack: insane length (%d)!\n", length); break; }