]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: mux_h2: Add missing braces in h2_snd_buf()around trace+wakeup
authorTim Duesterhus <tim@bastelstu.be>
Mon, 21 Dec 2020 18:40:16 +0000 (19:40 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 22 Dec 2020 08:02:11 +0000 (09:02 +0100)
commit12a08d8849166ec0a779bbdee2ce9d768d5aa824
treec0768eccd44ff63ba2c3f814e8e0d0d8321db68f
parent4d711760de1ca0a3734a0a813cb0012dc3d2628a
BUG/MEDIUM: mux_h2: Add missing braces in h2_snd_buf()around trace+wakeup

This is a regression in 7838a79ba ("MEDIUM: mux-h2/trace: add lots of traces
all over the code"). The issue was found using -Wmisleading-indentation.
This patch fixes GitHub issue #1015.

The impact of this bug is that it could in theory cause occasional delays
on some long responses for connections having otherwise no traffic.

This patch should be backported to 2.1+, the commit was first tagged in
v2.1-dev2.
src/mux_h2.c