]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
* haproxy could not be stopped after being paused.
authorWilly TARREAU <willy@pcw.(none)>
Sun, 12 Mar 2006 17:03:05 +0000 (18:03 +0100)
committerWilly TARREAU <willy@pcw.(none)>
Sun, 12 Mar 2006 17:03:05 +0000 (18:03 +0100)
haproxy.c

index 3bab3f916f06a449f5f331303bffc27501be5061..76ab61d5b688f39986dae72f7bc832fd88c91008 100644 (file)
--- 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);