]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: connection: define mux flag for reverse support
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 29 Sep 2023 14:03:51 +0000 (16:03 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 29 Sep 2023 16:09:08 +0000 (18:09 +0200)
commit337c71423f56489d99e29dc7df8fd02a26ea86df
treea16801517be38c7dec9ca0eb596aeaf8dce7898e
parentac1164de7ca694ccad5c39579f4a00a7aae2cc35
MINOR: connection: define mux flag for reverse support

Add a new MUX flag MX_FL_REVERSABLE. This value is used to indicate that
MUX instance supports connection reversal. For the moment, only HTTP/2
multiplexer is flagged with it.

This allows to dynamically check if reversal can be completed during MUX
installation. This will allow to relax requirement on config writing for
'tcp-request session attach-srv' which currently cannot be used mixed
with non-http/2 listener instances, even if used conditionnally with an
ACL.
include/haproxy/connection-t.h
src/connection.c
src/mux_h2.c