]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: quic: quic_loss modifications to support BBR
authorFrederic Lecaille <flecaille@haproxy.com>
Tue, 22 Oct 2024 17:01:08 +0000 (19:01 +0200)
committerFrederic Lecaille <flecaille@haproxy.com>
Wed, 20 Nov 2024 16:34:22 +0000 (17:34 +0100)
commitd85eb127e9c0c062f27556c68121f54229dac5fa
treef14c60c43d9fe8b5b442386b660b27aa021c68ac
parentaf75665cb7cd30505ed4aa59d2113a3a69543cd1
MINOR: quic: quic_loss modifications to support BBR

qc_packet_loss_lookup() aim is to detect the packet losses. This is this function
which must called ->on_pkt_lost() BBR specific callback. It also set
<bytes_lost> passed parameter to the total number of bytes detected as lost upon
an ACK frame receipt for its caller.
Modify qc_release_lost_pkts() to call ->congestion_event() with the send time
from the newest packet detected as lost.
Modify qc_release_lost_pkts() to call ->slow_start() callback only if define
by the congestion control algorithm. This is not the case for BBR.
include/haproxy/quic_loss.h
src/quic_conn.c
src/quic_loss.c