]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: tcp_act: remove limitation on protocol for attach-srv
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 29 Sep 2023 14:33:18 +0000 (16:33 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 29 Sep 2023 16:11:10 +0000 (18:11 +0200)
commitc58fd4d1cce343ccc9e5de213689dd68026f7ed5
tree7299dcf6c2e5ae56aa3a3b348d24d3687e905bf2
parent337c71423f56489d99e29dc7df8fd02a26ea86df
MINOR: tcp_act: remove limitation on protocol for attach-srv

This patch allows to specify "tcp-request session attach-srv" without
requiring that each associated bind lines mandates HTTP/2 usage. If a
non supported protocol is targetted by this rule, conn_install_mux_fe()
is responsible to reject it.

This change is mandatory to be able to mix attach-srv and standard
non-reversable connection on the same bind instances. An ACL can be used
to activate attach-srv only on some conditions.
src/tcp_act.c