]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[MEDIUM] checks: set server state to one state from failure when leaving maintenance
authorWilly Tarreau <w@1wt.eu>
Fri, 22 Oct 2010 12:39:02 +0000 (14:39 +0200)
committerWilly Tarreau <w@1wt.eu>
Sat, 30 Oct 2010 17:04:34 +0000 (19:04 +0200)
commit70461308fecf9122f3a7dd32534b842c603d8517
tree35307a61784adda0c3520df6d09b0ea5d597a14d
parent66c327dbe8c71383676369fbedcf849aa5b756b7
[MEDIUM] checks: set server state to one state from failure when leaving maintenance

When we're enabling a server again (unix CLI or stats interface), we must not mark
it completely up because it can take a while before a failure is detected. So we
mark it one step above failure, which means it's up but will be marked down upon
first failure.
(cherry picked from commit 83c3e06452457ed5660fc814cbda5bf878bf19a2)
src/dumpstats.c
src/proto_http.c