]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: checks: enable agent checks even if health checks are disabled
authorWilly Tarreau <w@1wt.eu>
Wed, 11 Dec 2013 20:26:24 +0000 (21:26 +0100)
committerWilly Tarreau <w@1wt.eu>
Sat, 14 Dec 2013 15:02:20 +0000 (16:02 +0100)
commit0d924cc74caf41ca458abfaf66dac7bd1de1e97f
tree1e8c388952ca83546731b53ba5696f5cca463589
parent3343432fcdb6e8dc1119d27eca121194f5dc6d34
MEDIUM: checks: enable agent checks even if health checks are disabled

The agent is able to retrieve some weight information from the server
and will eventually be able to force the server into maintenance mode.
It doesn't seem logical to have it depend on the health check being
configured, as for some servers it might very well make sense to only
fetch the weight from the server's load regardless of the health.

So let's stop disabling the agent checks when health checks are disabled.
src/checks.c