BUG/MEDIUM: mux-h1: Fix H1C_F_ST_SILENT_SHUT value
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 16 Nov 2021 09:24:14 +0000 (10:24 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Tue, 16 Nov 2021 09:24:48 +0000 (10:24 +0100)
commit31b6a4661611b21ccec5b62ea778a7a3935cb6ba
tree249c90ecd98f151de118d49254620665ffe3332e
parentb10bdb053a5830cb870866cc52ca97a664edb264
BUG/MEDIUM: mux-h1: Fix H1C_F_ST_SILENT_SHUT value

The commit 7700441a25 ("BUG/MINOR: mux-h1: Save shutdown mode if the
shutdown is delayed") introduced a regression during the backport process.
The H1C_F_ST_SILENT_SHUT value was not changed. However, on the 2.3 and
lowers, another H1C flag alreay have the value.

Because of this bug, H1C_F_ST_SILENT_SHUT and H1C_F_CS_SHUTDOWN shared the
same value. Mixed with some other bugs, this may lead to truncated messages.

This patch help to fix issue #1450. There is no upstream ID because the bug
only affects the 2.3 and lowers. The patch must be backported as far as 2.0.
src/mux_h1.c