]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: mux-quic: define rxbuf wrapper
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Mon, 24 Feb 2025 15:22:22 +0000 (16:22 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 7 Mar 2025 11:06:26 +0000 (12:06 +0100)
commitcc3c2d1f12ca2fbf91f599383488b1f20e8ac727
tree406df4e396f4b4b8240879625c9d14df4f6d7813
parent4b1e63d191d13a66940035d16bc5f2c7c4a138d6
MINOR: mux-quic: define rxbuf wrapper

Define a new type qc_stream_rxbuf. This is used as a wrapper around QCS
Rx buffer with encapsulation of the ncbuf storage. It is allocated via a
new pool. Several functions are adapted to be able to deal with
qc_stream_rxbuf as a wrapper instead of the previous plain ncbuf
instance.

No functional change should happen with this patch. For now, only a
single qc_stream_rxbuf can be instantiated per QCS. However, this new
type will be useful to implement multiple Rx buffer storage in a future
commit.
include/haproxy/mux_quic-t.h
src/mux_quic.c