]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: mux-quic: increment pacing retry counter on expired
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 10 Jan 2025 16:20:55 +0000 (17:20 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 23 Jan 2025 16:29:14 +0000 (17:29 +0100)
commit9d8589f0dee050352ae874be6a4fdeecbb428992
treed3135e55e970e4420ce3c6f08d21350f0f6655dc
parentbbaa7aef7ba25480b842cda274e57d820680bb57
MINOR: mux-quic: increment pacing retry counter on expired

A field <paced_sent_ctr> from quic_pacer structure is used to report the
number of occurences where emission has been interrupted due to pacing.
However, it was not incremented when QUIC MUX had to pause immediately
emission as pacing was still not yet expired.

Fix this by incrementing <paced_sent_ctr> in qcc_io_send() prior to
emission if pacing is expired. Note that incrementation is only done
once if the tasklet is then repeatdely woken up until the timer is
expired.

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