]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: mux-h2: immediately report connection errors on streams
authorWilly Tarreau <w@1wt.eu>
Thu, 31 Oct 2019 14:48:18 +0000 (15:48 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 31 Oct 2019 14:48:18 +0000 (15:48 +0100)
commitcab2295ae71150d6722505945463b3f1d4627e6e
treea4a85e10f2dfe448cec3623ed18964493b18db6b
parent4481e26e5dd2bc04df494c3f176aa5ceea3d63d5
BUG/MEDIUM: mux-h2: immediately report connection errors on streams

In case a stream tries to send on a connection error, we must report the
error so that the stream interface keeps the data available and may safely
retry on another connection. Till now this would happen only before the
connection was established, not in case of a failed handshake or an early
GOAWAY for example.

This should be backported to 2.0 and 1.9.
src/mux_h2.c