BUG/MINOR: mux-h1: Release idle server H1 connection if data are received
authorChristopher Faulet <cfaulet@haproxy.com>
Mon, 19 Apr 2021 17:57:43 +0000 (19:57 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Thu, 29 Apr 2021 09:10:25 +0000 (11:10 +0200)
commitedbbe946d05c29972cc279b9cabfe632993b5f88
treec8e602caa7af61403607eb8e0210daad9e662342
parentf0c0f87427d04f9e713bd89f21eecfd02922800f
BUG/MINOR: mux-h1: Release idle server H1 connection if data are received

When data are received on an idle H1 connection on server side, we must take
care to release the connection. Most of time, it will be a
408-Request-Time-out response. But, in all cases, these data should never be
processed as a response to a client.

There is no upstream ID because the 2.4 is not affected by this bug. It must
be backported as far as 2.0.

(cherry picked from commit d29ab4d43e7ec651fa034eb40228c2ec5fe101d9)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit 09089272d1c1c06be72142edb8c8af34d64b357f)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
src/mux_h1.c