]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: mux-quic: fix show quic report of QCS prepared bytes
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 21 Nov 2024 14:18:41 +0000 (15:18 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Mon, 25 Nov 2024 10:21:28 +0000 (11:21 +0100)
commit3704e0e1746b3c8a4b9f104257c6c92741f0daa2
tree7ec37e34b87e6098b335878f96cfc8d3e33def9b
parenta7e5180c714b25d52c314c2f145ca697390a751b
BUG/MINOR: mux-quic: fix show quic report of QCS prepared bytes

On show quic, each MUX streams are listed with their various indicator
for buffering on Rx and Tx. In particular, txoff displays in parenthesis
the current level of data prepared by the upper stream instance not yet
emitted by QUIC transport layer.

This value is only accessible after a substract operation. However,
there was a typo which caused the result to be always 0. Fix this by
reusing the correct offsets in the calculation.

This should be backported up to 3.0.
src/mux_quic.c