commit | ff5ae35b9fde764156b814dca8a57e83b8bcc0fd | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Wed Dec 11 20:36:34 2013 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Sat Dec 14 16:02:19 2013 +0100 |
tree | c286c6da728d1bd717e86b08fbd95e7c7dfc890e | |
parent | 2e10f5a759ffb51d26915f0ff3f59d4f05803064 [diff] |
MINOR: checks: use check->state instead of srv->state & SRV_CHECKED Having the check state partially stored in the server doesn't help. Some functions such as srv_getinter() rely on the server being checked to decide what check frequency to use, instead of relying on the check being configured. So let's get rid of SRV_CHECKED and SRV_AGENT_CHECKED and only use the check's states instead.