]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: checks: allow external checks in backend sections
authorCyril Bonté <cyril.bonte@free.fr>
Tue, 2 Dec 2014 20:21:35 +0000 (21:21 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 2 Dec 2014 20:44:33 +0000 (21:44 +0100)
commit777be861c5798072b561d21c03296c0fa82295d6
treef46a924aa751176d4a85d9e72b5120398bb1479f
parent83f2592bcd2e186beeabcba16be16faaab82bd39
MINOR: checks: allow external checks in backend sections

Previously, external checks required to find at least one listener in order to
pass the <proxy_address> and <proxy_port> arguments to the external script.
It prevented from declaring external checks in backend sections and haproxy
rejected the configuration.

The listener is now optional and values "NOT_USED" are passed if no listener is
found. For instance, this is the case with a backend section.

This is specific to the 1.6 branch.
doc/configuration.txt
src/checks.c