]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: stream: Rely on stconn flags to abort stream destructive upgrade
authorChristopher Faulet <cfaulet@haproxy.com>
Fri, 17 Jun 2022 07:36:57 +0000 (09:36 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 17 Jun 2022 11:25:02 +0000 (13:25 +0200)
commit9b8d7a11c0a8513f27780c3be0e43bb2ed5ee040
tree408de740d4738d133e1c13b22abb147232228130
parentb68f77d62602ba3d047ff715804001a77ed89feb
MINOR: stream: Rely on stconn flags to abort stream destructive upgrade

On destructive connection upgrade, instead of using the new mux name to
abort the old stream, we can relay on the stream connector flags. If it is
detached after the upgrade, it means the stream will not be resused by the
new mux and it must be aborted.

This patch may be backported to 2.6.
src/stream.c