]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MAJOR: mux-h1: Don't eval input data if an error was reported
authorChristopher Faulet <cfaulet@haproxy.com>
Thu, 16 Sep 2021 06:16:23 +0000 (08:16 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Thu, 16 Sep 2021 06:31:46 +0000 (08:31 +0200)
commitab7389dc3cef3bf09ef23a1127d4bc0ca7a8b0a0
treeabaa941bdf77131c78a6f842b76dcf34f58380cb
parent51324b872084739d1b847472391c286364380dd4
BUG/MAJOR: mux-h1: Don't eval input data if an error was reported

If an error was already reported on the H1 connection, pending input data
must not be (re)evaluated in h1_process(). Otherwise an unexpected internal
error will be reported, in addition of the first one. And on some
conditions, this may generate an infinite loop because the mux tries to send
an internal error but it fails to do so thus it loops to retry.

This patch should fix the issue #1356. It must be backported to 2.4.
src/mux_h1.c