MEDIUM: mux-h1: Don't block reads when waiting for the other side
authorChristopher Faulet <cfaulet@haproxy.com>
Thu, 8 Apr 2021 16:34:30 +0000 (18:34 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Thu, 6 May 2021 07:19:06 +0000 (09:19 +0200)
commitec4207cb68b1d7d50e06d35aaa73586e2c7d46b0
tree6dcce3c8905231cbcb8ea94fd65a3aa97f4c40f6
parentd8219b31e7cfe0dec64c33e1186e5f33cf87191a
MEDIUM: mux-h1: Don't block reads when waiting for the other side

When we are waiting for the other side to read more data, or to read the
next request, we must only stop the processing of input data and not the
data receipt. This patch don't change anything on the subscribes for
reads. So it should not change anything. The only difference is that the H1
connection will try to read data if it is woken up for an I/O event and if
it was subscribed for reads.

This patch is required to fix abortonclose option for H1 client connections.
src/mux_h1.c