projects
/
haproxy-2.1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
58bd8fd
)
[BUG] Restore info about available active/backup servers
author
Krzysztof Piotr Oledzki
<ole@ans.pl>
Mon, 27 Sep 2010 11:10:50 +0000
(13:10 +0200)
committer
Willy Tarreau
<w@1wt.eu>
Sat, 30 Oct 2010 17:04:30 +0000
(19:04 +0200)
Bug introduced by
5f5b7d2c1db1fabe3d372b0080a8773147762ee7
This bug was reported by Guido Krause.
(cherry picked from commit
0c801d1f5ffdc2fe3d036c1e5203d617507c55c3
)
src/checks.c
patch
|
blob
|
history
diff --git
a/src/checks.c
b/src/checks.c
index
d326625
..
ef7839b
100644
(file)
--- a/
src/checks.c
+++ b/
src/checks.c
@@
-170,7
+170,7
@@
static void server_status_printf(struct chunk *msg, struct server *s, unsigned o
chunk_printf(msg, ", check duration: %ldms", s->check_duration);
}
- if (xferred > 0) {
+ if (xferred >= 0) {
if (!(s->state & SRV_RUNNING))
chunk_printf(msg, ". %d active and %d backup servers left.%s"
" %d sessions active, %d requeued, %d remaining in queue",