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)
committerWilly Tarreau <w@1wt.eu>
Wed, 19 Feb 2025 10:19:38 +0000 (11:19 +0100)
commit7eb3b7e115ab348a168f9e9b756d4eee3e58de06
treee8129266c6741133f3e55550aceef021b4219b9d
parent999e3f9c00fc02de885a7a30680fbab01371b22f
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.

(cherry picked from commit 9d8589f0dee050352ae874be6a4fdeecbb428992)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
src/mux_quic.c