]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: Add state to struct check
authorSimon Horman <horms@verge.net.au>
Sun, 24 Feb 2013 08:23:38 +0000 (17:23 +0900)
committerWilly Tarreau <w@1wt.eu>
Tue, 19 Nov 2013 08:36:04 +0000 (09:36 +0100)
commitcd5d7b678e5e0c92631d90998037ec6bd7b09db5
tree9fbb585456f62a80884e5ffac2b7b4bac4a883fc
parent69d29f996b585f275b58d969f6bf5d80b0947617
MEDIUM: Add state to struct check

Add state to struct check. This is currently used to store one bit,
CHK_RUNNING, which is set if a check is running and clear otherwise.
This bit was previously SRV_CHK_RUNNING of the state element of struct
server.

This is in preparation for associating a agent check
with a server which runs as well as the server's existing check.

Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
include/types/server.h
src/checks.c
src/dumpstats.c