]> granicus.if.org Git - apache/commitdiff
"apachectl stop" shouldn't send the gracefully-terminate char down
authorJeff Trawick <trawick@apache.org>
Tue, 19 Mar 2002 21:31:04 +0000 (21:31 +0000)
committerJeff Trawick <trawick@apache.org>
Tue, 19 Mar 2002 21:31:04 +0000 (21:31 +0000)
the pod...  the child processes need to know that it isn't a graceful
termination and they shouldn't wait for old connections to finish

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94024 13f79535-47bb-0310-9956-ffa450edef68

server/mpm/worker/worker.c

index a06e5b4c762ab2c81560e79f405fc9ca8a659d24..b2a60ac08d9001b4177490ce9d3891ec50484cbb 100644 (file)
@@ -1457,8 +1457,10 @@ int ap_mpm_run(apr_pool_t *_pconf, apr_pool_t *plog, server_rec *s)
     if (shutdown_pending) {
         /* Time to gracefully shut down:
          * Kill child processes, tell them to call child_exit, etc...
+         * (By "gracefully" we don't mean graceful in the same sense as 
+         * "apachectl graceful" where we allow old connections to finish.)
          */
-        ap_mpm_pod_killpg(pod, ap_daemons_limit, TRUE);
+        ap_mpm_pod_killpg(pod, ap_daemons_limit, FALSE);
         ap_reclaim_child_processes(1);                /* Start with SIGTERM */
 
         if (!child_fatal) {