]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: quic: Do not resend already acked frames
authorFrédéric Lécaille <flecaille@haproxy.com>
Thu, 2 Mar 2023 13:49:22 +0000 (14:49 +0100)
committerFrédéric Lécaille <flecaille@haproxy.com>
Fri, 3 Mar 2023 18:12:26 +0000 (19:12 +0100)
commite6359b649b7a172a4271ddef4daee2dfae7cbae1
tree76f1862fe8624c44605f8413b24b42a8b064aa78
parent21564be4a2ca209580bbe644b43e758f2536a0da
BUG/MINOR: quic: Do not resend already acked frames

Some frames are marked as already acknowledged from duplicated packets
whose the original packet has been acknowledged. There is no need
to resend such packets or frames.

Implement qc_pkt_with_only_acked_frms() to detect packet with only
already acknowledged frames inside and use it from qc_prep_fast_retrans()
which selects the packet to be retransmitted.

Must be backported to 2.6 and 2.7.
src/quic_conn.c