]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: quic: Add a max window parameter to congestion control algorithms
authorFrédéric Lécaille <flecaille@haproxy.com>
Mon, 13 Nov 2023 14:50:53 +0000 (15:50 +0100)
committerFrédéric Lécaille <flecaille@haproxy.com>
Mon, 13 Nov 2023 16:53:18 +0000 (17:53 +0100)
commit028a55a1d0749ab5b9be86431b03007c38c83d5e
tree8162cf609e02a78303c1882e99d6dd23d9ce451e
parent840af0928b15bd398c3e945cb7c44f50f7c38780
MINOR: quic: Add a max window parameter to congestion control algorithms

Add a new ->max_cwnd member to bind_conf struct to store the maximum
congestion control window value for each QUIC binding.
Modify the "quic-cc-algo" keyword parsing to add an optional parameter
to its value: the maximum congestion window value between parentheses
as follows:

      ex: quic-cc-algo cubic(10m)

This value must be bounded, greater than 10k and smaller than 1g.
include/haproxy/listener-t.h
src/cfgparse-quic.c
src/listener.c