]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: mux-h2: don't send more HTX data than requested
authorWilly Tarreau <w@1wt.eu>
Tue, 4 Dec 2018 14:25:57 +0000 (15:25 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 4 Dec 2018 17:32:39 +0000 (18:32 +0100)
commitee57376ffb954aff109d5df062a4a2228bfa6793
tree29a46ed23bdbf70766557b39a7b3e42a73b05fe5
parentb08d91fbc5f2cff65a4c6916490df70eda5232db
BUG/MEDIUM: mux-h2: don't send more HTX data than requested

It's incorrect to send more bytes than requested, because some filters
(e.g. compression) might intentionally hold on some blocks, so DATA
blocks must not be processed past the advertised byte count. It is not
the case for headers however.

No backport is needed.
src/mux_h2.c