]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: mux-h2: also restart demuxing when data are pending in demux
authorWilly Tarreau <w@1wt.eu>
Tue, 18 Dec 2018 09:27:18 +0000 (10:27 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 18 Dec 2018 10:03:11 +0000 (11:03 +0100)
commitc5b1004fbe14b739762b1032f6e227411a79e70c
tree7097c5739caac1c63474420a370e5be230211af8
parent7ab99a302d37d3d39ee6c8094e3a0c154ce5896b
BUG/MEDIUM: mux-h2: also restart demuxing when data are pending in demux

Commit 082f559d3 ("BUG/MEDIUM: h2: restart demuxing after releasing
buffer space") tried to address a situation where transfers could stall
after a read, but the condition was not completely covered : some stalls
may still happen at end of stream because there's nothing anymore to
receive and the last data lie in the demux buffer. Thus we must also
consider this state as a valid condition to restart demuxing.

No backport is needed.
src/mux_h2.c