]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: mux-h1: fix incorrect state checking in h1_process_mux()
authorWilly Tarreau <w@1wt.eu>
Wed, 9 Aug 2023 09:51:58 +0000 (11:51 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 9 Aug 2023 09:51:58 +0000 (11:51 +0200)
commit949371a00dca228c31b59392615e5f087dcc6552
treea3c6912a0e793e05abdce2410a389c492589e32c
parent22731762d9fe2c98d9e6c3942b1568266b23c69f
BUG/MEDIUM: mux-h1: fix incorrect state checking in h1_process_mux()

That's a regression introduced in 2.9-dev by commit 723c73f8a ("MEDIUM:
mux-h1: Split h1_process_mux() to make code more readable") and found
by Christopher. The consequence is uncertain but the test definitely was
not right in that it would catch most existing states (H1_MSG_DONE=30).
At least it would emit too many "H1 request fully xferred".

No backport needed.
src/mux_h1.c