]> git.pld-linux.org Git - packages/apache.git/blob - httpd-dummy-connection-result.patch
adapter
[packages/apache.git] / httpd-dummy-connection-result.patch
1 diff --git a/server/mpm_unix.c b/server/mpm_unix.c
2 index a70c271..ca880e5 100644
3 --- a/server/mpm_unix.c
4 +++ b/server/mpm_unix.c
5 @@ -742,7 +742,12 @@ void ap_mpm_pod_killpg(ap_pod_t *pod, int num)
6       * readers stranded (a number of them could be tied up for
7       * a while serving time-consuming requests)
8       */
9 +    /* Recall: we only worry about IDLE child processes here */
10      for (i = 0; i < num && rv == APR_SUCCESS; i++) {
11 +        if (ap_scoreboard_image->servers[i][0].status != SERVER_READY ||
12 +            ap_scoreboard_image->servers[i][0].pid == 0) {
13 +            continue;
14 +        }
15          rv = dummy_connection(pod);
16      }
17  }
This page took 0.031422 seconds and 3 git commands to generate.