]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: mux-quic: release connection if no more bidir streams
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 24 Sep 2021 08:05:30 +0000 (10:05 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 7 Oct 2021 15:35:25 +0000 (17:35 +0200)
commitd595f108dbcb3bed48f3a327b5448dd084ee29a7
treeb61c1f4205e1fbf6a3c79250af3f7d0f46f40b68
parent336f6fd964e9304a2b810e21d72650e2c12aecd2
MINOR: mux-quic: release connection if no more bidir streams

Use the count of bidirectional streams to call qc_release in qc_detach.
We cannot inspect the by_id tree because uni-streams are never removed
from it. This allows the connection to be properly freed.
src/mux_quic.c