r4536 - trunk/varnish-cache/bin/varnishd

phk at projects.linpro.no phk at projects.linpro.no
Mon Feb 8 12:14:06 CET 2010


Author: phk
Date: 2010-02-08 12:14:05 +0100 (Mon, 08 Feb 2010)
New Revision: 4536

Modified:
   trunk/varnish-cache/bin/varnishd/mgt_param.c
Log:
Increase session_workspace to 64k on non-32bit systems.



Modified: trunk/varnish-cache/bin/varnishd/mgt_param.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/mgt_param.c	2010-02-05 09:20:20 UTC (rev 4535)
+++ trunk/varnish-cache/bin/varnishd/mgt_param.c	2010-02-08 11:14:05 UTC (rev 4536)
@@ -523,7 +523,12 @@
 		"header and any edits done to it in the VCL code.\n"
 		"Minimum is 1024 bytes.",
 		DELAYED_EFFECT,
-		"16384", "bytes" },
+#if SIZE_MAX <= UINT32_MAX
+		"16384",
+#else
+		"65536",
+#endif
+		"bytes" },
 	{ "http_headers", tweak_uint, &master.http_headers, 32, UINT_MAX,
 		"Maximum number of HTTP headers we will deal with.\n"
 		"This space is preallocated in sessions and workthreads only "



More information about the varnish-commit mailing list