MEDIUM: server: support {check,agent}_addr, agent_port in server state
authorWilliam Dauchy <wdauchy@gmail.com>
Thu, 11 Feb 2021 21:51:26 +0000 (22:51 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 12 Feb 2021 15:04:52 +0000 (16:04 +0100)
commitd1a7b85a40adfc5d1de8e0547efcbed7c5605809
tree2f221da1e341ee572916706f00b82485e17480a7
parent63e6cba12a551b7296de150db7472835d4a7bbe5
MEDIUM: server: support {check,agent}_addr, agent_port in server state

logical followup from cli commands addition, so that the state server
file stays compatible with the changes made at runtime; use previously
added helper to load server attributes.

also alloc a specific chunk to avoid mixing with other called functions
using it

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