]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: quic: reset consecutive_losses on exit from recovery period (cubic)
authorFrederic Lecaille <flecaille@haproxy.com>
Thu, 28 May 2026 13:12:11 +0000 (15:12 +0200)
committerFrederic Lecaille <flecaille@haproxy.com>
Thu, 28 May 2026 15:47:31 +0000 (17:47 +0200)
commit45ad1037d038f4dbabb0a159e68421a183d482d9
treeaecc1d939836e6f4cc4f17035193fe695cd81701
parentab8603c6d5b035be89a0e9239d80221ec115380d
BUG/MEDIUM: quic: reset consecutive_losses on exit from recovery period (cubic)

When exiting the recovery period and re-entering congestion avoidance,
the consecutive_losses counter was not reset. This meant that if a loss
event arrived immediately after the ACK that ended recovery, the counter
would still hold the value that triggered recovery, causing an immediate
re-entry into recovery (recovery -> CA -> recovery loop).

Resetting consecutive_losses to 0 on recovery exit matches the behavior
of resetting it on ACK in CA, ensuring a clean slate for the new
congestion avoidance period.

Must be backported to all versions.
src/quic_cc_cubic.c