]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: mux_quic: fix BE conn removal on app shutdown
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 28 May 2026 14:44:03 +0000 (16:44 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 28 May 2026 15:36:05 +0000 (17:36 +0200)
commitc76e0f1bc4d1022b93af2a2e677343b63f45a688
treecd79f1511b35e41b20fd685f354884255b0dea21
parent802a3b72884b619694c57c51d5f9795b2934dff4
BUG/MINOR: mux_quic: fix BE conn removal on app shutdown

When QUIC application layer is shut for a backend connection, the
connection is immediately removed from its idle pool. This is a nice
optimization as this prevents a future streams to try to reuse an
unusable connection. This is implemented since the following commit.

  00d668549e46b34d29ea3daa1f6dd42b5251a365
  MINOR: mux-quic: do not reuse connection if app already shut

However, this removal is not correctly performed as it is used
conn_delete_from_tree(). For private connections, this can cause crashes
as they are stored in the session instead. Thus, connection status is
now properly check, and alternatively session_unown_conn() is used if
stored in the session.

This must be backported up to 3.3.
src/mux_quic.c