Commit 122f52cc authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Make the manager respect the diag_bitmap for child core creation.



git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@3007 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 7dfca207
...@@ -168,7 +168,10 @@ child_poker(const struct vev *e, int what) ...@@ -168,7 +168,10 @@ child_poker(const struct vev *e, int what)
REPORT(LOG_ERR, REPORT(LOG_ERR,
"Child (%d) not responding to ping, killing it.", "Child (%d) not responding to ping, killing it.",
child_pid); child_pid);
(void)kill(child_pid, SIGKILL); if (params->diag_bitmap & 0x1000)
(void)kill(child_pid, SIGKILL);
else
(void)kill(child_pid, SIGQUIT);
return (0); return (0);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment