From: Jim Jagielski Date: Mon, 4 Jun 2007 13:18:54 +0000 (+0000) Subject: Only remove from pid table when we've reaped a child, X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=41db8d9a06f991af75008d14549e77fa60d23195;p=thirdparty%2Fapache%2Fhttpd.git Only remove from pid table when we've reaped a child, that is, when we know it's gone. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@544149 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/main/http_main.c b/src/main/http_main.c index 3a84b40cba5..f0ac8fc0623 100644 --- a/src/main/http_main.c +++ b/src/main/http_main.c @@ -5175,7 +5175,6 @@ static void perform_idle_server_maintenance(void) 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 @@ static void perform_idle_server_maintenance(void) #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,