]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: h2: unblock a connection when its current stream detaches
authorWilly Tarreau <w@1wt.eu>
Mon, 30 Oct 2017 14:44:59 +0000 (15:44 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 31 Oct 2017 17:16:18 +0000 (18:16 +0100)
commit45f752e037b15fcd07d4620fbc39b8b192fa0bda
tree9de5a82b0e6dfd22d4cc3ee96514f275e877f94b
parent60935149334bf61d61cfbbbc30194733ba312008
MEDIUM: h2: unblock a connection when its current stream detaches

If a stream is killed for whatever reason and it happens to be the one
currently blocking the connection, we must unblock the connection and
enable polling again so that it can attempt to make progress. This may
happen for example on upload timeout, where the demux is blocked due to
a full stream buffer, and the stream dies on server timeout and quits.
src/mux_h2.c