]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MAJOR: checks: move health checks changes to set_server_check_status()
authorWilly Tarreau <w@1wt.eu>
Tue, 20 May 2014 12:55:13 +0000 (14:55 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 23 May 2014 12:29:11 +0000 (14:29 +0200)
commit7b1d47ce1b28f33a8cae811fdbfec2ac85d7f196
treeeb6eb2c028812f34997cd5a8b8b549344ffa1dc1
parentaf54958d7276a339b62fff67d1e368af4b958a91
MAJOR: checks: move health checks changes to set_server_check_status()

We don't want to manipulate check's statuses anymore in functions
which modify the server's state. So since any check is forced to
call set_server_check_status() exactly once to report the result
of the check, it's the best place to update the check's health.
src/checks.c