altarch-user / rpms / httpd

Forked from rpms/httpd 2 years ago
Clone

Blame SOURCES/httpd-2.4.6-r1570327.patch

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