BUG/MINOR: quic: newreno QUIC congestion control algorithm no more available
authorFrederic Lecaille <flecaille@haproxy.com>
Thu, 25 Jan 2024 06:30:40 +0000 (07:30 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 31 Jan 2024 14:44:56 +0000 (15:44 +0100)
commitce06dad128b441ca32af559694a20d1fdca44223
tree92858fc3f33bb49d100e84d4053f52a7d747bea3
parent30f98f253d6ab92ece1d96439b93fade05f2996d
BUG/MINOR: quic: newreno QUIC congestion control algorithm no more available

There is a typo in the statement to initialize this variable when selecting
newreno as cc algo:
      const char *newreno = "newrno";
This would have happened if #defines had be used in place of several const char *
variables harcoded values.

Take the opportunity of this patch to use #defines for all the available cc algorithms.

Must be backported to 2.9.

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