diff options
Diffstat (limited to 'server/mpm_unix.c')
-rw-r--r-- | server/mpm_unix.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/server/mpm_unix.c b/server/mpm_unix.c index a70c2714ae..ca880e5db7 100644 --- a/server/mpm_unix.c +++ b/server/mpm_unix.c @@ -742,7 +742,12 @@ void ap_mpm_pod_killpg(ap_pod_t *pod, int num) * readers stranded (a number of them could be tied up for * a while serving time-consuming requests) */ + /* Recall: we only worry about IDLE child processes here */ for (i = 0; i < num && rv == APR_SUCCESS; i++) { + if (ap_scoreboard_image->servers[i][0].status != SERVER_READY || + ap_scoreboard_image->servers[i][0].pid == 0) { + continue; + } rv = dummy_connection(pod); } } |