]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: quic-stream: use distinct tree nodes for quic stream and qcs
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Tue, 19 Apr 2022 15:59:50 +0000 (17:59 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 21 Apr 2022 09:05:58 +0000 (11:05 +0200)
commite4301da5ed9e77844c653ea4caf233546febe591
tree9ba0a55cf1a7e4086ae1ccd9399af26f0917ff8d
parent0cc02a345b04556e712ac1c024fe129b8799b4e7
MINOR: quic-stream: use distinct tree nodes for quic stream and qcs

Simplify the model qcs/qc_stream_desc. Each types has now its own tree
node, stored respectively in qcc and quic-conn trees. It is still
necessary to mark the stream as detached by the MUX once all data is
transfered to the lower layer.

This might improve slightly the performance on ACK management as now
only the lookup in quic-conn is necessary. On the other hand, memory
size of qcs structure is increased.
include/haproxy/mux_quic-t.h
include/haproxy/quic_stream-t.h
include/haproxy/quic_stream.h
include/haproxy/xprt_quic-t.h
src/mux_quic.c
src/quic_stream.c
src/xprt_quic.c