MINOR: quic: rename min/max fields for congestion window algo
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 23 Jan 2025 09:47:57 +0000 (10:47 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Mon, 2 Jun 2025 15:31:45 +0000 (17:31 +0200)
commit2f13b9061bf5ed8d8084e7b4049b6492e13d27c7
tree9d0baf905adc6acf3cec5feb751da64175a3a6d1
parent02fcc52e5ae08a2ad68b8df91a9202556869de19
MINOR: quic: rename min/max fields for congestion window algo

There was some possible confusion between fields related to congestion
window size min and max limit which cannot be exceeded, and the maximum
value previously reached by the window.

Fix this by adopting a new naming scheme. Enforced limit are now renamed
<limit_max>/<limit_min>, while the previously reached max value is
renamed <cwnd_last_max>.

This should be backported up to 3.1.

(cherry picked from commit 2eb1b0cd96f663b9260ee48921612566417b3b8d)
Signed-off-by: Willy Tarreau <w@1wt.eu>
(cherry picked from commit 13c3baf545c93994688c3abd4895e6aede05211a)
 [ad: pick to ease next backport]
Signed-off-by: Amaury Denoyelle <adenoyelle@haproxy.com>
include/haproxy/quic_cc-t.h
include/haproxy/quic_cc.h
src/quic_cc_cubic.c
src/quic_cc_newreno.c
src/quic_cc_nocc.c
src/quic_cli.c