]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: mux-h1: Always release H1C if a shutdown for writes was reported
authorChristopher Faulet <cfaulet@haproxy.com>
Fri, 28 Jun 2019 15:41:42 +0000 (17:41 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 28 Jun 2019 15:58:15 +0000 (17:58 +0200)
commit3ac0f43020e1cd77198020201e4e482a1c2ef8ac
treecf174ee82ac5bf5b249adfdecbc4e0e4a3103c86
parente488ea865a433d93efcb14c0c602918070c6b208
BUG/MEDIUM: mux-h1: Always release H1C if a shutdown for writes was reported

We must take care of this when the stream is detached from the
connection. Otherwise, on the server side, the connexion is inserted in the list
of idle connections of the session. But when reused, because the shutdown for
writes was already catched, nothing is sent to the server and the session is
blocked with a freezed connection.

This patch must be backported to 2.0 and 1.9. It is related to the issue #136
reported on Github.
src/mux_h1.c