mirror of
https://github.com/apache/httpd.git
synced 2025-08-03 16:33:59 +00:00
mpm_unix: Follow up to r1821526.
Clear recycled_pools_count in ap_free_idle_pools(). [Reverted by r1821619] git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1821605 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@ -1380,11 +1380,13 @@ void ap_free_idle_pools(fd_queue_info_t *queue_info)
|
|||||||
apr_pool_t *p;
|
apr_pool_t *p;
|
||||||
|
|
||||||
queue_info->max_recycled_pools = 0;
|
queue_info->max_recycled_pools = 0;
|
||||||
do {
|
for (;;) {
|
||||||
ap_pop_pool(&p, queue_info);
|
ap_pop_pool(&p, queue_info);
|
||||||
if (p != NULL)
|
if (p == NULL)
|
||||||
apr_pool_destroy(p);
|
break;
|
||||||
} while (p != NULL);
|
apr_pool_destroy(p);
|
||||||
|
}
|
||||||
|
apr_atomic_set32(&queue_info->recycled_pools_count, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user