]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: h1-htx/http-ana: Set BODYLESS flag on message in TUNNEL state
authorChristopher Faulet <cfaulet@haproxy.com>
Fri, 20 Nov 2020 13:30:38 +0000 (14:30 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 4 Dec 2020 13:41:49 +0000 (14:41 +0100)
commitc31bc724d4e6793c8a543d03e3b4f968d6fcba29
treef0273c430fa3584993f64be097e6ce31b275c119
parent2a408542445f23a6afc4eb8953ab2dac1e6a2134
MINOR: h1-htx/http-ana: Set BODYLESS flag on message in TUNNEL state

When a H1 message is parsed, if the parser state is switched to TUNNEL mode
just after the header parsing, the BODYLESS flag is set on the HTX
start-line. By transitivity, the corresponding flag is set on the message in
HTTP analysers.  Thus it is possible to rely on it to not wait for the
request body.
src/h1_htx.c
src/http_ana.c