]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: mux-h2: make sure the demux also wakes streams up on errors
authorWilly Tarreau <w@1wt.eu>
Tue, 18 Dec 2018 15:52:44 +0000 (16:52 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 18 Dec 2018 15:52:44 +0000 (16:52 +0100)
commit567beb8a910d0ae86fca6d856090be0a294ded4c
tree98a45d1a22118c298f468c6ddb00f5705f863446
parenta8519357c500519a9022204f5637f03c26047c0d
BUG/MEDIUM: mux-h2: make sure the demux also wakes streams up on errors

Today the demux only wakes a stream up after receiving some contents, but
not necessarily on close or error. Let's do it based on both error flags
and both EOS flags. With a bit of refinement we should be able to only do
it when the pending bits are there but not the static ones.

No backport is needed.
src/mux_h2.c