]> git.ipfire.org Git - thirdparty/haproxy.git/commit
REGTEST: http-messaging/h00000: Fix the test when the HTX is enabled
authorChristopher Faulet <cfaulet@haproxy.com>
Mon, 1 Apr 2019 09:26:25 +0000 (11:26 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Mon, 1 Apr 2019 13:43:40 +0000 (15:43 +0200)
commitf7b941c895743a333d6f68c2740f836799292e4e
tree83a835abbf22dd4b8ae90ac870714edbab24486d
parent39581bb2dec1c5374e332c16c98033b3372fefa4
REGTEST: http-messaging/h00000: Fix the test when the HTX is enabled

The way unexpected bodies are handled for responses to HEAD requests differs from
the legacy HTTP to the HTX. While it is dropped wih the legacy HTTP, in HTX, it
is parsed as the response to the next request. So, in HTX, a 502 error is
returned to the client and the connexion is closed.

This test has been modified to pass in both mode.
reg-tests/http-messaging/h00000.vtc