]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: mux-quic: release conn after shutdown on BE reuse failure
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 30 Jul 2025 07:51:21 +0000 (09:51 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 30 Jul 2025 08:04:19 +0000 (10:04 +0200)
commitcfe9bec1ea978a28095c49f661f55014f0453514
treefe30db14e386fd58c301fa51007d4c256b576ded
parent14966c856b4f7bfd73ea0a9654066eeebcd9d3e1
MINOR: mux-quic: release conn after shutdown on BE reuse failure

On stream detach on backend side, connection is inserted in the proper
server/session list to be able to reuse it later. If insertion fails and
the connection is idle, the connection can be removed immediately.

If this occurs on a QUIC connection, QUIC MUX implements graceful
shutdown to ensure the server is notified of the closure. However, the
connection instance is not freed. Change this to ensure that both
shutdown and release is performed.
src/mux_quic.c