BUG/MINOR: mux-h2: Don't emit log twice if an error occurred on the preface
authorChristopher Faulet <cfaulet@haproxy.com>
Mon, 15 Mar 2021 16:54:31 +0000 (17:54 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Thu, 1 Apr 2021 06:56:07 +0000 (08:56 +0200)
commitceab1ed86cbe74701d9c2ed921a2890fb2f90c94
tree729ce666204ad9234585adf83f899b6c8e4399d9
parent645dc08533531416b91ca74ff5aa03154dc0ee50
BUG/MINOR: mux-h2: Don't emit log twice if an error occurred on the preface

sess_log() was called twice if an error occurred on the preface parsing, in
h2c_frt_recv_preface() and in h2_process_demux().

This patch must be backported as far as 2.0.
src/mux_h2.c