Blob Blame History Raw
# ./pullrev.sh 1570327
http://svn.apache.org/viewvc?view=revision&revision=1570327

https://bugzilla.redhat.com/show_bug.cgi?id=1327624

--- httpd-2.4.6/server/mpm_unix.c
+++ httpd-2.4.6/server/mpm_unix.c
@@ -742,7 +742,12 @@
      * 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);
     }
 }