You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ji...@apache.org on 2007/06/04 15:18:55 UTC
svn commit: r544149 - /httpd/httpd/branches/1.3.x/src/main/http_main.c
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,