httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject svn commit: r544149 - /httpd/httpd/branches/1.3.x/src/main/http_main.c
Date Mon, 04 Jun 2007 13:18:55 GMT
Author: jim
Date: Mon Jun  4 06:18:54 2007
New Revision: 544149

URL: http://svn.apache.org/viewvc?view=rev&rev=544149
Log:
Only remove from pid table when we've reaped a child,
that is, when we know it's gone.

Modified:
    httpd/httpd/branches/1.3.x/src/main/http_main.c

Modified: httpd/httpd/branches/1.3.x/src/main/http_main.c
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/1.3.x/src/main/http_main.c?view=diff&rev=544149&r1=544148&r2=544149
==============================================================================
--- httpd/httpd/branches/1.3.x/src/main/http_main.c (original)
+++ httpd/httpd/branches/1.3.x/src/main/http_main.c Mon Jun  4 06:18:54 2007
@@ -5175,7 +5175,6 @@
                     pid = ps->pid;
                     if (in_pid_table(pid)) {
                         kill(pid, SIG_TIMEOUT_KILL);
-                        unset_pid_table(pid);
                     }
                     else {
                         ap_log_error(APLOG_MARK, APLOG_NOERRNO|APLOG_ERR, server_conf,
@@ -5200,7 +5199,6 @@
 #ifdef TPF
             ap_update_child_status(to_kill, SERVER_DEAD, (request_rec *)NULL);
 #endif
-            unset_pid_table(pid);
         }
         else {
             ap_log_error(APLOG_MARK, APLOG_NOERRNO|APLOG_ERR, server_conf,



Mime
View raw message