]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: quic: Make usage of the congestion control window.
authorFrédéric Lécaille <flecaille@haproxy.com>
Tue, 8 Dec 2020 14:58:39 +0000 (15:58 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 23 Dec 2020 10:57:26 +0000 (11:57 +0100)
commit04ffb66bc91959cf869c96b8b0c77296b21c3d38
tree9bf464708d9f941587b27db1cfdb7e0e71b73731
parentc5e72b9868e8c7a1d020e3afbd358705efa4c089
MINOR: quic: Make usage of the congestion control window.

Remove ->ifcdata which was there to control the CRYPTO data sent to the
peer so that not to saturate its reception buffer. This was a sort
of flow control.
Add ->prep_in_flight counter to the QUIC path struct to control the
number of bytes prepared to be sent so that not to saturare the
congestion control window. This counter is increased each time a
packet was built. This has nothing to see with ->in_flight which
is the real in flight number of bytes which have really been sent.
We are olbiged to maintain two such counters to know how many bytes
of data we can prepared before sending them.
Modify traces consequently which were useful to diagnose issues about
the congestion control window usage.
include/haproxy/xprt_quic-t.h
include/haproxy/xprt_quic.h
src/xprt_quic.c