]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: mux-h2: Obey dontlognull option during the preface
authorChristopher Faulet <cfaulet@haproxy.com>
Mon, 26 Jul 2021 08:18:35 +0000 (10:18 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Mon, 26 Jul 2021 13:14:35 +0000 (15:14 +0200)
commit3f35da296ee30bba3783f343a586091c66f21c65
treeca32aa614f41f95dbdfa223f40a34f34f0cb04b8
parent07e10deb36642666372469a71b1cc92602bde9db
BUG/MINOR: mux-h2: Obey dontlognull option during the preface

If a connection is closed during the preface while no data are received, if
the dontlognull option is set, no log message must be emitted. However, this
will still be handled as a protocol error. Only the log is omitted.

This patch should fix the issue #1336 for H2 sessions. It must be backported
to 2.4 and 2.3 at least, and probably as far as 2.0.
src/mux_h2.c