]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: quic: Stop stressing the acknowledgments process (RX ACK frames)
authorFrédéric Lécaille <flecaille@haproxy.com>
Wed, 15 Mar 2023 16:21:13 +0000 (17:21 +0100)
committerFrédéric Lécaille <flecaille@haproxy.com>
Mon, 20 Mar 2023 16:47:12 +0000 (17:47 +0100)
commitc664e644ebb3efafb6d46bc483c0d4ed4d8e38fd
treec90a494e6e3a881f81f10cc27d755972248a3444
parentac78c4fd9d87c93bfb61c9c15182c9c0e38053f9
MINOR: quic: Stop stressing the acknowledgments process (RX ACK frames)

The ACK frame range of packets were handled from the largest to the smallest
packet number, leading to big number of ebtree insertions when the packet are
handled in the inverse way they are sent. This was detected a long time ago
but left in the code to stress our implementation. It is time to be more
efficient and process the packet so that to avoid useless ebtree insertions.

Modify qc_ackrng_pkts() responsible of handling the acknowledged packets from an
ACK frame range of acknowledged packets.

Must be backported to 2.7.
src/quic_conn.c