]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: global: Preset tune.max_http_hdr to its default value
authorChristopher Faulet <cfaulet@haproxy.com>
Fri, 19 Jul 2019 07:36:45 +0000 (09:36 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 19 Jul 2019 07:46:23 +0000 (09:46 +0200)
commit41ba36f8b2a26de366abe602220b667e90967ea0
tree63ba1efdb307a0083de657cd43f60ae3d73ba1c0
parent87f1f3d60b53f49cd3e06fc70fc0c5430a331501
MINOR: global: Preset tune.max_http_hdr to its default value

By default, this tune parameter is set to MAX_HTTP_HDR. This assignment is done
after the configuration parsing, when we check the configuration validity. So
during the configuration parsing, its value is 0. Now, it is set to MAX_HTTP_HDR
from the start. So, it is possible to rely on it during the configuration
parsing.
src/haproxy.c