]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: mux-h2: restart demuxing as soon as demux data are available
authorWilly Tarreau <w@1wt.eu>
Tue, 18 Dec 2018 09:29:54 +0000 (10:29 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 18 Dec 2018 10:03:11 +0000 (11:03 +0100)
commitcef5c8e2aa826a5556cd90e44453ed08277c0fb4
treec837f8ea5892118553babeef0d3140bdba077235
parentc5b1004fbe14b739762b1032f6e227411a79e70c
BUG/MEDIUM: mux-h2: restart demuxing as soon as demux data are available

Commit 7505f94f9 ("MEDIUM: h2: Don't use a wake() method anymore.")
changed the conditions to restart demuxing so that this happens as soon
as something is read. But similar to previous fix, at an end of stream
we may be woken up with nothing to read but data still available in the
demux buffer, so we must also use this as a valid condition for demuxing.

No backport is needed, this is purely 1.9.
src/mux_h2.c