]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: h1: consider err_pos before deciding to accept a header name or not
authorWilly Tarreau <w@1wt.eu>
Wed, 12 Sep 2018 07:20:40 +0000 (09:20 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 12 Sep 2018 15:38:25 +0000 (17:38 +0200)
commit9aec30557bb05a021fccebd497c2d62e758f317e
tree6f8e6b8d0566ffd0f06a029675cd88958e855c5b
parent9b8cd1f183422a0353e89f76b0f4527984ae2d15
MEDIUM: h1: consider err_pos before deciding to accept a header name or not

Till now the H1 parser made for H2 used to be lenient on invalid header
field names because they were supposed to be produced by haproxy. Now
instead we'll rely on err_pos to know how to act (ie: -2 == must block).
src/h1.c