]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: h2: report asynchronous end of stream on closed connections
authorWilly Tarreau <w@1wt.eu>
Wed, 12 Sep 2018 07:45:54 +0000 (09:45 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 12 Sep 2018 07:45:54 +0000 (09:45 +0200)
commit2c096c3b7a31ae59e94397a0ca88ff1d24af78c4
treead6ac2af5eeb7936b9a32d858a3f388afc301fc9
parent5afb3cfbcc9e690ee104d64b80aadfe5fd829af0
BUG/MINOR: h2: report asynchronous end of stream on closed connections

Christopher noticed that the CS_FL_EOS to CS_FL_REOS conversion was
incomplete : when the connectionis closed, we mark the streams with EOS
instead of REOS, causing the loss of any possibly pending data. At the
moment it's not an issue since H2 is used only with a client, but with
servers it could be a real problem if servers close the connection right
after sending their response.

This patch should be backported to 1.8.
src/mux_h2.c