BUG/MINOR: mux-h1: Don't report an H1C error on client timeout
authorChristopher Faulet <cfaulet@haproxy.com>
Mon, 6 Feb 2023 17:14:47 +0000 (18:14 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Mon, 13 Feb 2023 08:43:38 +0000 (09:43 +0100)
commit3eff752f6f157985e92cd9d9ca3da27ee0af2772
tree426cddd981229b20e6cd2753579012b2a7be5505
parent5b74f99383692308d9827e45a723b373cd444c55
BUG/MINOR: mux-h1: Don't report an H1C error on client timeout

When a client timeout is reported by the H1 mux, it is not an error but an
abort. Thus, H1C_F_ERROR flag must not be set. It is espacially important to
not inhibit the send. Because of this bug, a 408-Request-time-out is
reported in logs but the error message is not sent to the client.

This patch must be backported to 2.7.
src/mux_h1.c