MINOR: check: Always increment check health counter on CONPASS
authorChristopher Faulet <cfaulet@haproxy.com>
Fri, 20 Nov 2020 17:13:02 +0000 (18:13 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 27 Nov 2020 09:30:23 +0000 (10:30 +0100)
commit1e527cbf53d0a97a61bb5d710cc15d3e3f4ffe85
tree83854ed0c9ac0c1fe95e7908329cddb9543f166e
parent97b7bdfcf74810aac464e7fb379402f4a75193a6
MINOR: check: Always increment check health counter on CONPASS

Regarding the health counter, a check finished with the CONDPASS result is
now the same than with the PASSED result: The health counter is always
incemented. Before, it was only performed is the health counter was not 0.

There is no change for the disable-on-404 option because it is only
evaluated for running or stopping servers. So with an health check counter
greater than 0. But it will make possible to handle (STOPPED -> STOPPING)
transition for servers.
src/check.c