Commit 8a374507 authored by Tollef Fog Heen's avatar Tollef Fog Heen

Increase http_req_size, http_resp_size to 8192 bytes

Apache (and nginx) uses 8k, so use the same default size to avoid
people being surprised by more 413 responses than necessary.

Fixes: #1016
parent d4ece17a
......@@ -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,
"4096", "bytes" },
"8192", "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,
"4096", "bytes" },
"8192", "bytes" },
{ "http_resp_size", tweak_uint, &master.http_resp_size,
256, UINT_MAX,
"Maximum number of bytes of HTTP backend resonse we will deal "
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment