]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: mux-quic: remove qcs tree node
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Tue, 29 Mar 2022 13:18:44 +0000 (15:18 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 30 Mar 2022 14:26:59 +0000 (16:26 +0200)
commitd8e680cbaf702e01706a93dbd6d7480e06600cc5
tree6b3ba5b293566bd6ee207dd61cc0aa7a7c81391f
parent7272cd76fc2db0d8778d13c3092e5f8303a49c07
MEDIUM: mux-quic: remove qcs tree node

The new qc_stream_desc type has a tree node for storage. Thus, we can
remove the node in the qcs structure.

When initializing a new stream, it is stored into the qcc streams_by_id
tree. When the MUX releases it, it will freed as soon as its buffer is
emptied. Before this, the quic-conn is responsible to store it inside
its own streams_by_id tree.
include/haproxy/mux_quic-t.h
include/haproxy/mux_quic.h
include/haproxy/xprt_quic-t.h
include/haproxy/xprt_quic.h
src/mux_quic.c
src/xprt_quic.c