]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: h2: pass accept-invalid-http-request down the request parser
authorWilly Tarreau <w@1wt.eu>
Tue, 8 Aug 2023 13:38:28 +0000 (15:38 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 8 Aug 2023 17:10:54 +0000 (19:10 +0200)
commitd93a00861d714313faa0395ff9e2acb14b0a2fca
tree2469693b39eb0c340f1ed8a467a71a07b6638bbc
parent30f58f4217d585efeac3d85cb1b695ba53b7760b
MINOR: h2: pass accept-invalid-http-request down the request parser

We're adding a new argument "relaxed" to h2_make_htx_request() so that
we can control its level of acceptance of certain invalid requests at
the proxy level with "option accept-invalid-http-request". The goal
will be to add deactivable checks that are still desirable to have by
default. For now no test is subject to it.
include/haproxy/h2.h
src/h2.c
src/mux_h2.c