]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: mux-h1: Wait for connection establishment before consuming channel's data
authorChristopher Faulet <cfaulet@haproxy.com>
Fri, 26 Oct 2018 15:36:03 +0000 (17:36 +0200)
committerWilly Tarreau <w@1wt.eu>
Sun, 18 Nov 2018 21:10:04 +0000 (22:10 +0100)
commit3b88b8d02ef10121b8b27ae7bb6bd464d66ad04f
treeb68106d091b8439b0895c99bf441bd938ab06102
parent311c7eaad0ddb655fa76e4752f9d0209cab3e6fe
MEDIUM: mux-h1: Wait for connection establishment before consuming channel's data

When a server is down, the channel's data must not be consumed. This is
required to allow redispatch and connection retry. So now, we wait for
the connection to be marked as connected, with the flag CO_FL_CONNECTED,
before starting to consume channel's data. In the mux, this event is
tracked with the flag H1C_F_CS_WAIT_CONN.
src/mux_h1.c
src/stream.c