From: hno <> Date: Thu, 26 May 2005 15:44:30 +0000 (+0000) Subject: Allow for large amounts of custom headers (cookies etc) X-Git-Tag: SQUID_3_0_PRE4~741 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f8230a8d2935c0e149fcd625734c6ce3d64783b3;p=thirdparty%2Fsquid.git Allow for large amounts of custom headers (cookies etc) --- diff --git a/src/client.cc b/src/client.cc index 572ba6d29c..2fdcb2a1ef 100644 --- a/src/client.cc +++ b/src/client.cc @@ -1,6 +1,6 @@ /* - * $Id: client.cc,v 1.108 2005/01/06 13:16:39 serassio Exp $ + * $Id: client.cc,v 1.109 2005/05/26 09:44:30 hno Exp $ * * DEBUG: section 0 WWW Client * AUTHOR: Harvest Derived @@ -100,8 +100,8 @@ main(int argc, char *argv[]) int opt_noaccept = 0; int opt_verbose = 0; const char *hostname, *localhost; - char url[BUFSIZ], msg[BUFSIZ], buf[BUFSIZ]; - char extra_hdrs[BUFSIZ]; + char url[BUFSIZ], msg[49152], buf[BUFSIZ]; + char extra_hdrs[32768]; const char *method = "GET"; extern char *optarg; time_t ims = 0;