From: Ruediger Pluem Date: Mon, 4 Jun 2007 19:26:21 +0000 (+0000) Subject: * It does not matter if this pid is still in the scoreboard or not. We need to X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a46ffdc1e4e229d23e07e2e41a3452fda1caa6ec;p=thirdparty%2Fapache%2Fhttpd.git * It does not matter if this pid is still in the scoreboard or not. We need to remove it from our pid table in any case. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@544218 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/main/http_main.c b/src/main/http_main.c index f0ac8fc0623..315027cb80e 100644 --- a/src/main/http_main.c +++ b/src/main/http_main.c @@ -5450,6 +5450,7 @@ static void standalone_main(int argc, char **argv) } #endif if (pid >= 0) { + unset_pid_table(pid); process_child_status(pid, status); /* non-fatal death... note that it's gone in the scoreboard. */ ap_sync_scoreboard_image(); @@ -5458,7 +5459,6 @@ static void standalone_main(int argc, char **argv) if (child_slot >= 0) { (void) ap_update_child_status(child_slot, SERVER_DEAD, (request_rec *) NULL); - unset_pid_table(pid); if (remaining_children_to_start && child_slot < ap_daemons_limit) { /* we're still doing a 1-for-1 replacement of dead