]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: check: align agentaddr and agentport behaviour
authorWilliam Dauchy <wdauchy@gmail.com>
Wed, 3 Feb 2021 21:30:09 +0000 (22:30 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Thu, 4 Feb 2021 13:00:38 +0000 (14:00 +0100)
commit4858fb2e18e84b2784d975b02d03a1df2819eb35
tree923d372d22fd5fade9a0fbd54c0195b630464a09
parent1c921cd748d8c7f69b45453bb74f3445de24c0e2
MEDIUM: check: align agentaddr and agentport behaviour

in the same manner of agentaddr, we now:
- permit to set agentport through `port` keyword, like it is the case
  for agentaddr through `addr`
- set the priority on `agent-port` keyword when used
- add a flag to be able to test when the value is set like for agentaddr

it makes the behaviour between `addr` and `port` more consistent.

Signed-off-by: William Dauchy <wdauchy@gmail.com>
doc/configuration.txt
include/haproxy/check.h
include/haproxy/server-t.h
src/check.c