]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: conn-stream: Be prepared to fail to attach a cs to a mux
authorChristopher Faulet <cfaulet@haproxy.com>
Thu, 31 Mar 2022 17:27:18 +0000 (19:27 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 13 Apr 2022 13:10:15 +0000 (15:10 +0200)
commit070b91bc11d1a4c4b2266b9e3bd82efb90918a3c
treeefe0039cf4c0c058c1272cb03b4acffffc50fa9b
parent0797656ead86aa636c94cc4041cafd1b78640933
MEDIUM: conn-stream: Be prepared to fail to attach a cs to a mux

To be able to move wait_event from the stream-interface to the conn-stream,
we must be prepare to handle errors when a mux is attached to a conn-stream.
Indeed, the wait_event's tasklet will be allocated when both a mux and a
stream will be both attached to a stream. So, we must be prepared to handle
allocation errors.
include/haproxy/conn_stream.h
src/backend.c
src/conn_stream.c
src/mux_fcgi.c
src/mux_h1.c
src/mux_h2.c
src/mux_pt.c
src/tcpcheck.c