mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-08-06 23:27:04 +02:00
* haproxy could not be stopped after being paused.
This commit is contained in:
parent
dd676173f0
commit
2bfdd8e26a
@ -5821,7 +5821,7 @@ static void soft_stop(void) {
|
|||||||
p = proxy;
|
p = proxy;
|
||||||
tv_now(&now); /* else, the old time before select will be used */
|
tv_now(&now); /* else, the old time before select will be used */
|
||||||
while (p) {
|
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);
|
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);
|
send_log(p, LOG_WARNING, "Stopping proxy %s in %d ms.\n", p->id, p->grace);
|
||||||
tv_delayfrom(&p->stop_time, &now, p->grace);
|
tv_delayfrom(&p->stop_time, &now, p->grace);
|
||||||
|
Loading…
Reference in New Issue
Block a user