MINOR: mux-h1: Split H1C_F_WAIT_OPPOSITE flag to separate input/output sides
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 13 Jan 2021 17:47:57 +0000 (18:47 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Thu, 28 Jan 2021 15:37:14 +0000 (16:37 +0100)
commitb385b50fbb2252af09097bc8a00d9d2371f6a70c
treeca9a43ad0d27e2acde74487f8c6a15ea8f1e24d0
parent1e857785e9af0e2698127ae0e36e84f9a47e1ee2
MINOR: mux-h1: Split H1C_F_WAIT_OPPOSITE flag to separate input/output sides

The H1C_F_WAIT_OPPOSITE flag is now splitted in 2 flags, H1C_F_WAIT_INPUT
and H1C_F_WAIT_OUTPUT, depending on the side is waiting. The change is a
prerequisite to fix the tunnel mode management in HTTP muxes.

H1C_F_WAIT_INPUT must be used to bloc the output side and to wait for an
event from the input side. H1C_F_WAIT_OUTPUT does the opposite. It bloc the
input side and wait for an event from the output side.
src/mux_h1.c