]> git.kaiwu.me - haproxy.git/commit
[MEDIUM] change server check result to a bit field
authorWilly Tarreau <w@1wt.eu>
Fri, 30 Nov 2007 07:33:21 +0000 (08:33 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 30 Nov 2007 07:33:21 +0000 (08:33 +0100)
commitc7dd71ae5b74f22d0d4d6634faa226882db829f5
treef2e687b51cc18604967900e6e5536facbd7d80d8
parent5eb1a9033a94fc5dc1a47f05cac2e4c9c751024e
[MEDIUM] change server check result to a bit field

A server check currently returns either -1 or 1. This is not very
convenient to enhance the health-checks system. Let's use flags
instead.
include/types/server.h
src/checks.c