BUG/MINOR: mux-h1: Don't read data from a pipe if the mux is unable to receive
authorChristopher Faulet <cfaulet@haproxy.com>
Fri, 3 Jul 2020 13:02:25 +0000 (15:02 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Tue, 7 Jul 2020 12:44:03 +0000 (14:44 +0200)
commitb032bf949dd75671aed25e2472704556cf752e2b
tree698c54333bb38aedcc921fd9bd07cc2cdd41331f
parentcfb54329854ee8302fea64f2181e3d2fa6c9acb1
BUG/MINOR: mux-h1: Don't read data from a pipe if the mux is unable to receive

In h1_rcv_pipe(), if the mux is unable to receive data, for instance because the
multiplexer is blocked on input waiting the other side (BUSY mode), no receive
must be performed.

This patch must be backported to 2.1 and 2.0.

(cherry picked from commit 0060be9ccfc76f8c6a9c29ce99d18a37d85bcc1d)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
src/mux_h1.c