mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-11-27 05:41:10 +01:00
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.
This commit is contained in:
parent
87f1f3d60b
commit
41ba36f8b2
@ -164,6 +164,7 @@ struct global global = {
|
||||
.pattern_cache = DEFAULT_PAT_LRU_SIZE,
|
||||
.pool_low_ratio = 20,
|
||||
.pool_high_ratio = 25,
|
||||
.max_http_hdr = MAX_HTTP_HDR,
|
||||
#ifdef USE_OPENSSL
|
||||
.sslcachesize = SSLCACHESIZE,
|
||||
#endif
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user