mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-22 06:11:32 +02:00
[BUG] Restore info about available active/backup servers
Bug introduced by 5f5b7d2c1db1fabe3d372b0080a8773147762ee7 This bug was reported by Guido Krause. (cherry picked from commit 0c801d1f5ffdc2fe3d036c1e5203d617507c55c3)
This commit is contained in:
parent
58bd8fd46d
commit
3bb057170c
@ -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);
|
chunk_printf(msg, ", check duration: %ldms", s->check_duration);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (xferred > 0) {
|
if (xferred >= 0) {
|
||||||
if (!(s->state & SRV_RUNNING))
|
if (!(s->state & SRV_RUNNING))
|
||||||
chunk_printf(msg, ". %d active and %d backup servers left.%s"
|
chunk_printf(msg, ". %d active and %d backup servers left.%s"
|
||||||
" %d sessions active, %d requeued, %d remaining in queue",
|
" %d sessions active, %d requeued, %d remaining in queue",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user