MINOR: checks: support a neutral check result
authorWilly Tarreau <w@1wt.eu>
Tue, 20 May 2014 18:56:30 +0000 (20:56 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 23 May 2014 13:42:49 +0000 (15:42 +0200)
commit23964187aeee40af3733e86eaa17654fc77c9b6f
treee20a9659fbb23c20cceee07edcc37ae24eaffb49
parent12634e14282ce229842456d87244fd34665b0504
MINOR: checks: support a neutral check result

Agent will have the ability to return a weight without indicating an
up/down status. Currently this is not possible, so let's add a 5th
result CHK_RES_NEUTRAL for this purpose. It has been mapped to the
unused HCHK_STATUS_CHECKED which already serves as a neutral delimitor
between initiated checks and those returning a result.
include/types/checks.h
src/checks.c