[master] d7c7c39 Increase http_resp_hdr_len and http_req_hdr_len

Tollef Fog Heen tfheen at varnish-cache.org
Fri Jul 15 12:24:55 CEST 2011


commit d7c7c39abd8c56a7bce04991c7a8c35b58940dca
Author: Tollef Fog Heen <tfheen at varnish-software.com>
Date:   Fri Jul 15 12:23:46 2011 +0200

    Increase http_resp_hdr_len and http_req_hdr_len
    
    We're seeing at least up to 4k in the wild, so increase the limit
    somewhat.
    
    See: #939

diff --git a/bin/varnishd/mgt_param.c b/bin/varnishd/mgt_param.c
index 26fcb31..3126744 100644
--- a/bin/varnishd/mgt_param.c
+++ b/bin/varnishd/mgt_param.c
@@ -522,7 +522,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,
-		"2048", "bytes" },
+		"4096", "bytes" },
 	{ "http_req_size", tweak_uint, &master.http_req_size,
 		256, UINT_MAX,
 		"Maximum number of bytes of HTTP client request we will deal "
@@ -538,7 +538,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,
-		"2048", "bytes" },
+		"4096", "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