]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: mux-h1: Fix trace message in h1_detroy() to not relay on connection
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 30 Apr 2025 12:32:16 +0000 (14:32 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 30 Apr 2025 12:44:42 +0000 (14:44 +0200)
commit7dc4e94830ef8fe9b0ffc2901d63b9f3183ed12c
tree0904321f3bd5985c401d339a3f3f7c68af0803ce
parent2dc334be61a0a9feaa7b844e122c2c4ce37e1b1a
BUG/MINOR: mux-h1: Fix trace message in h1_detroy() to not relay on connection

h1_destroy() may be called to release a H1C after a multiplexer upgrade. In
that case, the connection is no longer attached to the H1C. It must not be
used in the h1 trace message because the connection context is no longer a H1C.

Because of this bug, when a H1>H2 upgrade is performed, a crash may be
experienced if the H1 traces are enabled.

This patch must be backport to all stable versions.
src/mux_h1.c