]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: mux-h1: Fix test instead a BUG_ON() in h1_send_error()
authorChristopher Faulet <cfaulet@haproxy.com>
Thu, 15 Dec 2022 08:59:50 +0000 (09:59 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Thu, 15 Dec 2022 08:59:51 +0000 (09:59 +0100)
commit8f1f1b05795f7114c5bbb0cf3bffdf86ed299370
tree5e130aa4f9e15ea405816e706bba73e204592de6
parentda93802ffc5c38b470b95d250a9c0b496349ca64
BUG/MINOR: mux-h1: Fix test instead a BUG_ON() in h1_send_error()

In the previous patch (86924532db "BUG/MINOR: mux-h1: Fix test instead a
BUG_ON() in h1_send_error()"), a BUG_ON() condition was inverted by error in
h1_send_error(). The stream-connector must be NULL to be able to destroy the H1
stream.

This patch must be backported with the commit above (to 2.7).
src/mux_h1.c