]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: server: adding support for check_port in server state
authorWilliam Dauchy <wdauchy@gmail.com>
Wed, 3 Feb 2021 21:30:06 +0000 (22:30 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Thu, 4 Feb 2021 09:46:52 +0000 (10:46 +0100)
commitfe03e7d0457daa82e1ec5cb7e70c3a3f28ed0fc7
tree5d4cc5a44ddd354f396c6efd5076379b70c0a4d6
parent69f118d7b60217c9f2acf9fc88b109670ef65e32
MEDIUM: server: adding support for check_port in server state

We can currently change the check-port using the cli command `set server
check-port` but there is a consistency issue when using server state.
This patch aims to fix this problem but will be also a good preparation
work to get rid of checkport flag, so we are able to know when checkport
was set by config.

I am fully aware this is not making github #953 moving forward, I
however think this might be acceptable while waiting for a proper
solution and resolve consistency problem faced with port settings.

Signed-off-by: William Dauchy <wdauchy@gmail.com>
doc/management.txt
include/haproxy/server-t.h
reg-tests/checks/1be_40srv_odd_health_checks.vtc
reg-tests/checks/40be_2srv_odd_health_checks.vtc
reg-tests/checks/4be_1srv_health_checks.vtc
src/proxy.c
src/server.c