mpm_fdqueue: follow up to r1821624.
Clear recycled_pools_count in ap_free_idle_pools().
@@ -286,11 +286,13 @@ void ap_free_idle_pools(fd_queue_info_t *queue_info)
apr_pool_t *p;
queue_info->max_recycled_pools = 0;
- do {
+ for (;;) {
ap_pop_pool(&p, queue_info);
- if (p != NULL)
+ if (p == NULL)
+ break;
apr_pool_destroy(p);
- } while (p != NULL);
+ }
+ apr_atomic_set32(&queue_info->recycled_pools_count, 0);
}
