]> git.kaiwu.me - haproxy.git/commit
BUG/MINOR: mux-h1: only check h1s if not NULL
authorWilly Tarreau <w@1wt.eu>
Mon, 11 May 2026 12:44:12 +0000 (14:44 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 11 May 2026 14:04:19 +0000 (16:04 +0200)
commit009c32d863d74d10a209a43242e0279278a3957c
tree06e6413879c2b9cecf3d9103e6ece3903c78b2bc
parentd7f8a25db188b959cd198f0a31befab38be3d936
BUG/MINOR: mux-h1: only check h1s if not NULL

Since we can emit glitches during an H2 upgrade, we no longer have a
guaranteed h1s, so _h1_report_glitch() must check h1s before
dereferencing it. No backport is needed as this arrived in 3.4-dev11
with commit 72fd357814 ("MEDIUM: mux-h1: Return an error on h2 upgrade
attempts if not allowed").
src/mux_h1.c