mirror of
https://github.com/apache/httpd.git
synced 2025-10-28 20:34:59 +03:00
PR: 54852. Only use a dummy_connection for idle processes
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1542379 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user