]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: mux-h1: Process conn_mode on the EOH when no connection header is found
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 28 Nov 2018 15:32:50 +0000 (16:32 +0100)
committerWilly Tarreau <w@1wt.eu>
Sat, 1 Dec 2018 16:37:27 +0000 (17:37 +0100)
commitd1ebb1eeb5bcc217d6b7897e9010945ecb2f2396
tree7fb8113ee0e90873dbd285a117f98696da6093f0
parenta7b677cd0deee4a471e2985e304837bf642762b9
MINOR: mux-h1: Process conn_mode on the EOH when no connection header is found

Instead of looking for a connection header just after the start line to know if
we must process the conn_mode by hand or if we wait to parse the connection
header, we now delay this processing when the end of headers is reached. A flag
is used to know if it was already done (or skipped) or not. This save a lookup
on headers.
src/mux_h1.c