From 2bfdd8e26a7d1bc84c3c7cd3a41ad593dc2244b9 Mon Sep 17 00:00:00 2001 From: Willy TARREAU Date: Sun, 12 Mar 2006 18:03:05 +0100 Subject: [PATCH] * haproxy could not be stopped after being paused. --- haproxy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/haproxy.c b/haproxy.c index 3bab3f916..76ab61d5b 100644 --- a/haproxy.c +++ b/haproxy.c @@ -5821,7 +5821,7 @@ static void soft_stop(void) { p = proxy; tv_now(&now); /* else, the old time before select will be used */ while (p) { - if (p->state != PR_STSTOPPED && p->state != PR_STPAUSED) { + if (p->state != PR_STSTOPPED) { Warning("Stopping proxy %s in %d ms.\n", p->id, p->grace); send_log(p, LOG_WARNING, "Stopping proxy %s in %d ms.\n", p->id, p->grace); tv_delayfrom(&p->stop_time, &now, p->grace);