MINOR: quic: move buffered ACK to streambuf
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Tue, 1 Oct 2024 09:13:41 +0000 (11:13 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Tue, 1 Oct 2024 14:19:42 +0000 (16:19 +0200)
commit62558a92852fd83058a17b48e132db5ac3dce30a
tree3dcd97290b13043d57cc5be17284f91f5921b3a0
parent943e48dadd39ad09b95da79af9580c0162178efc
MINOR: quic: move buffered ACK to streambuf

QUIC streamdesc layer is used to manage QUIC MUX stream txbuf data
storage until acknowledgment. Currently, it only supports in-order
acknowledgment at the stream level. This requires to be able to buffer
out-of-order ACKs until they can be handled.

Previously, these ACKs were stored in a tree to the streamdesc instance.
Move this indexed storage at the streambuf instance.

This commit is purely an architecture change. However, it will allow to
extend ACK management in future patches, such as the ability to merge
overlapping out-of-order ACKs.
include/haproxy/quic_stream-t.h
src/quic_rx.c
src/quic_stream.c