mirror of
https://github.com/haproxy/haproxy.git
synced 2026-02-20 00:10:41 -05:00
[BUG] Restore info about available active/backup servers
Bug introduced by 5f5b7d2c1d
This bug was reported by Guido Krause.
(cherry picked from commit 0c801d1f5ffdc2fe3d036c1e5203d617507c55c3)
This commit is contained in:
parent
58bd8fd46d
commit
3bb057170c
1 changed files with 1 additions and 1 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Reference in a new issue