altarch-user / rpms / httpd

Forked from rpms/httpd 2 years ago
Clone

Blame SOURCES/httpd-2.4.6-r1570327.patch

21495e
# ./pullrev.sh 1570327
21495e
http://svn.apache.org/viewvc?view=revision&revision=1570327
21495e
21495e
https://bugzilla.redhat.com/show_bug.cgi?id=1327624
21495e
21495e
--- httpd-2.4.6/server/mpm_unix.c
21495e
+++ httpd-2.4.6/server/mpm_unix.c
21495e
@@ -742,7 +742,12 @@
21495e
      * readers stranded (a number of them could be tied up for
21495e
      * a while serving time-consuming requests)
21495e
      */
21495e
+    /* Recall: we only worry about IDLE child processes here */
21495e
     for (i = 0; i < num && rv == APR_SUCCESS; i++) {
21495e
+        if (ap_scoreboard_image->servers[i][0].status != SERVER_READY ||
21495e
+            ap_scoreboard_image->servers[i][0].pid == 0) {
21495e
+            continue;
21495e
+        }
21495e
         rv = dummy_connection(pod);
21495e
     }
21495e
 }