]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: h2/hpack: fix emission of HPACK DTSU after settings change
authorWilly Tarreau <w@1wt.eu>
Wed, 16 Feb 2022 13:28:14 +0000 (14:28 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 16 Feb 2022 13:42:13 +0000 (14:42 +0100)
commitc7d85485a00bd9862ecb726ad1242c2ba724a8ca
tree9849ae071136ad7820bb63d4ec75edbce80e8c96
parentc38200563645e314bd0af59958c75171cca59d4b
BUG/MEDIUM: h2/hpack: fix emission of HPACK DTSU after settings change

Sadly, despite particular care, commit 39a0a1e12 ("MEDIUM: h2/hpack: emit
a Dynamic Table Size Update after settings change") broke H2 when sending
DTSU. A missing negation on the flag caused the DTSU_EMITTED flag to be
lost and the DTSU to be sent again on the next stream, and possibly to
break flow control or a few other internal states.

This will have to be backported wherever the patch above was backported.

Thanks to Yves Lafon for notifying us with elements to reproduce the
issue!
src/mux_h2.c