MEDIUM: checks: enable the PROXY protocol with health checks
authorWilly Tarreau <w@1wt.eu>
Thu, 4 Oct 2012 22:04:16 +0000 (00:04 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 4 Oct 2012 22:33:14 +0000 (00:33 +0200)
commit6c16adc661be22516f5904d949913bba8928bf0b
tree75b2ab12e72a31b4a54cc0a99c720a3cfc5d0607
parent763a95bfde4f0f3d3ea6d2d23ca574b1ede0688d
MEDIUM: checks: enable the PROXY protocol with health checks

When health checks are configured on a server which has the send-proxy
directive and no "port" nor "addr" settings, the health check connections
will automatically use the PROXY protocol. If "port" or "addr" are set,
the "check-send-proxy" directive may be used to force the protocol.
doc/configuration.txt
include/types/server.h
src/cfgparse.c
src/checks.c