]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: mux-h2/htx: Respect the channel's reserve
authorChristopher Faulet <cfaulet@haproxy.com>
Mon, 21 Jan 2019 10:49:37 +0000 (11:49 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 23 Jan 2019 10:27:34 +0000 (11:27 +0100)
commita413e958fd1f84915b80842273e5daee3448a2cc
treeb047edc8547ee3d557c44c6952513b25f98bf0d3
parentdcd8c5eed4a4843a5ccd7ae7f4c252d3ac9460d1
BUG/MEDIUM: mux-h2/htx: Respect the channel's reserve

When data are pushed in the channel's buffer, in h2_rcv_buf(), the mux-h2 must
respect the reserve if the flag CO_RFL_KEEP_RSV is set. In HTX, because the
stream-interface always sees the buffer as full, there is no other way to know
the reserve must be respected.

This patch must be backported to 1.9.
src/mux_h2.c