]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: quic: refactor buffered STREAM ACK consuming
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Mon, 30 Sep 2024 07:48:29 +0000 (09:48 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Tue, 1 Oct 2024 14:22:23 +0000 (16:22 +0200)
commit8d68717a4148329fd30c0015423581291836d97d
treed1a9f236b528b9eb6dd23b6dee65525061bf04a1
parentcc4384aeb7813f73fd5e433f6e6e4aaf0550281e
MEDIUM: quic: refactor buffered STREAM ACK consuming

For the moment, streamdesc layer can only deal with in-order ACK at the
stream level. Received out-of-order ACKs are buffered in a tree attached
to a streambuf instance.

Previously, caller of qc_stream_desc_ack() was responsible to implement
consumption of these buffered ACKs. Refactor this by implementing it
directly at the streamdesc layer within qc_stream_desc_ack(). This
simplifies quic_rx ACK handling and ensure buffered ACKs are consumed as
soon as possible.
src/quic_rx.c
src/quic_stream.c