]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: http: Use the global value to limit the number of parsed headers
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 11 Jun 2019 13:05:37 +0000 (15:05 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 14 Jun 2019 09:13:32 +0000 (11:13 +0200)
commite4ab11bb8856c98e5db901e2f079e370a385c970
treeaacc3c9456fc4fe38bef93c21fe29637e9d58f1d
parent87ebe944d6b0d2322e76f34a7672289deec691b1
BUG/MINOR: http: Use the global value to limit the number of parsed headers

Instead of using the macro MAX_HTTP_HDR to limit the number of headers parsed
before throwing an error, we now use the custom global variable
global.tune.max_http_hdr.

This patch must be backported to 1.9.
src/http_fetch.c
src/http_htx.c
src/mux_h1.c
src/mux_h2.c