]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: http/htx: Fix handling of the option abortonclose
authorChristopher Faulet <cfaulet@haproxy.com>
Fri, 22 Mar 2019 13:23:18 +0000 (14:23 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 25 Mar 2019 05:55:13 +0000 (06:55 +0100)
commit769d0e98b8bad60258bcf1ec90bfd9534fa9b825
tree6b7fd2d20c9e3efe607fc3a2e1ad318879752801
parentdbe2cb4ee549e72f0a12e6e5e69464add62b86c4
BUG/MEDIUM: http/htx: Fix handling of the option abortonclose

Because the flag CF_SHUTR is no more set to mark the end of the message by the
H2 multiplexer, we can rely on it again to detect aborts. there is no more need
to make a check on the flag SI_FL_CLEAN_ABRT when the option abortonclose is
enabled. So, this option should work as before for h2 clients.

This patch must be backported to 1.9 with the previous EOI patches.
src/proto_http.c
src/proto_htx.c
src/stream.c