]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: checks: Use the mux protocol specified on the server line
authorChristopher Faulet <cfaulet@haproxy.com>
Thu, 23 Apr 2020 13:50:18 +0000 (15:50 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Mon, 27 Apr 2020 08:46:28 +0000 (10:46 +0200)
commit12882cfaf85c6fdab78dd3372b25f7e728c6a180
tree9c5794e35fdc6ecc1b82b306bdf4aaf4f22b8dcd
parentc52ea4d9cda9dcc978095d153ec2dd810bdda28e
BUG/MEDIUM: checks: Use the mux protocol specified on the server line

First, when a server health check is initialized, it inherits the mux protocol
from the server if it is not already specified. Because there is no option to
specify the mux protocol for the checks, it is always inherited from the server
for now.

Then, if the connect rule is configured to use the server options, the mux
protocol of the check is used, if defined. Of course, if a mux protocol is
already defined for the connect rule, it is used in priority. But for now, it is
not possible.

Thus, if a server is configured to use, for instance, the h2 protocol, it is
possible to do the same for the health-checks.

No backport needed.
src/checks.c