]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: quic: Congestion control architecture refactoring
authorFrédéric Lécaille <flecaille@haproxy.com>
Tue, 31 May 2022 07:40:44 +0000 (09:40 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 29 Jul 2022 15:32:05 +0000 (17:32 +0200)
commitc591459d11712fd0c7aab27f3da5fc5fe41e7aff
treed275720eb48646c003c75b552aa731c0e714550d
parent72a78e8290a1f34c08225f63e7233d211195387f
MINOR: quic: Congestion control architecture refactoring

Ease the integration of new congestion control algorithm to come.
Move the congestion controller state to a private array of uint32_t
to stop using a union. We do not want to continue using such long
paths cc->algo_state.<algo>.<var> to modify the internal state variable
for each algorithm.

Must be backported to 2.6
include/haproxy/quic_cc-t.h
include/haproxy/quic_cc.h
src/quic_cc_newreno.c