MINOR: quic: Stop hardcoding a scale shifting value (CUBIC_BETA_SCALE_FACTOR_SHIFT)
authorFrederic Lecaille <flecaille@haproxy.com>
Thu, 25 Jan 2024 06:55:33 +0000 (07:55 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 31 Jan 2024 14:44:56 +0000 (15:44 +0100)
commitdedf0f44503a962bbbfde0bd5b21560798ebe59d
tree806aa9bda900c567b9cb28660abd6f7e390f748e
parent3e1137320c8f01dc6c23f60593a8ed5443ed0056
MINOR: quic: Stop hardcoding a scale shifting value (CUBIC_BETA_SCALE_FACTOR_SHIFT)

Very minor modification to replace a statement with an hardcoded value by a macro.

Should be backported as far as 2.6 to ease any further modification to come.

(cherry picked from commit 96385f40b508a395fcd802a9dff13e968c12433d)
Signed-off-by: Willy Tarreau <w@1wt.eu>
src/quic_cc_cubic.c