[master] 1c0e14e Bump the value of http_resp_hdr_len and http_req_hdr_len

Tollef Fog Heen tfheen at varnish-cache.org
Wed Mar 16 10:15:38 CET 2011


commit 1c0e14e9fd32c6c5c7914026acd20b046f275c37
Author: Tollef Fog Heen <tfheen at varnish-software.com>
Date:   Wed Mar 16 10:14:36 2011 +0100

    Bump the value of http_resp_hdr_len and http_req_hdr_len
    
    We have seen larger than 512 values in the wild, so increase the
    default values a bit to give us breathing room.

diff --git a/bin/varnishd/mgt_param.c b/bin/varnishd/mgt_param.c
index a1f33d0..d0e9c20 100644
--- a/bin/varnishd/mgt_param.c
+++ b/bin/varnishd/mgt_param.c
@@ -525,7 +525,7 @@ static const struct parspec input_parspec[] = {
 		"Maximum length of any HTTP client request header we will "
 		"allow.  The limit is inclusive its continuation lines.\n",
 		0,
-		"512", "bytes" },
+		"2048", "bytes" },
 	{ "http_req_size", tweak_uint, &master.http_req_size,
 		256, UINT_MAX,
 		"Maximum number of bytes of HTTP client request we will deal "
@@ -541,7 +541,7 @@ static const struct parspec input_parspec[] = {
 		"Maximum length of any HTTP backend response header we will "
 		"allow.  The limit is inclusive its continuation lines.\n",
 		0,
-		"512", "bytes" },
+		"2048", "bytes" },
 	{ "http_resp_size", tweak_uint, &master.http_resp_size,
 		256, UINT_MAX,
 		"Maximum number of bytes of HTTP backend resonse we will deal "



More information about the varnish-commit mailing list