]> git.kaiwu.me - haproxy.git/commit
BUG/MEDIUM: mux_quic: fix Rx flow control increment on RESET_STREAM
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 13 Nov 2026 15:55:32 +0000 (16:55 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 13 Nov 2026 16:15:32 +0000 (17:15 +0100)
commit7c6159a28de1e3913deb601ad1ba5017adf9c027
treee137851d63c11f4dc6b4e5c194ca89b443744175
parentfdfd607e84732539d67935f0e7babf092177e251
BUG/MEDIUM: mux_quic: fix Rx flow control increment on RESET_STREAM

Since the following patch, on RESET_STREAM frame reception, its final
size field is used to account for non-received data in the connection
flow control.

  1b2bd2aeef08209664585e4b3f230744835257d9
  BUG/MINOR: mux_quic: report conn error on RESET_STREAM fctl violation

This addition is not correct as it uses the read offset of the QCS
instance instead of the maximum offset already checked in flow control.
Over time, there is a risk to report a flow control violation despite
legitimate client usage.

Fix this by using the proper QCS field in the flow control calculation
check. Note that accounted data for MAX_DATA emission is still based on
the QCS read offset though.

This must be backported up to 2.8, after the above-mentioned patch.
src/mux_quic.c