if ((l[0] == '#') || (!l[0]))
continue;
ll = l;
- apr_clear_pool(sp);
+ apr_pool_clear(sp);
group_name = ap_getword(sp, &ll, ':');
if ((l[0] == '#') || (!l[0]))
continue;
ll = l;
- apr_clear_pool(sp);
+ apr_pool_clear(sp);
group_name = ap_getword(sp, &ll, ':');
char *anchor, *t, *t2;
int nwidth;
- apr_clear_pool(scratch);
+ apr_pool_clear(scratch);
if (is_parent(ar[x]->name)) {
t = ap_make_full_path(scratch, name, "../");
char *anchor, *t, *t2;
int nwidth;
- apr_clear_pool(scratch);
+ apr_pool_clear(scratch);
if (is_parent(ar[x]->name)) {
t = ap_make_full_path(scratch, name, "../");
ap_log_error(APLOG_MARK, APLOG_STARTUP | APLOG_NOERRNO, 0, NULL, "Syntax OK\n");
destroy_and_exit_process(process, 0);
}
- apr_clear_pool(plog);
+ apr_pool_clear(plog);
ap_run_open_logs(pconf, plog, ptemp, server_conf);
ap_post_config_hook(pconf, plog, ptemp, server_conf);
apr_pool_destroy(ptemp);
for (;;) {
apr_hook_deregister_all();
- apr_clear_pool(pconf);
+ apr_pool_clear(pconf);
for (mod = ap_prelinked_modules; *mod != NULL; mod++) {
ap_register_hooks(*mod, pconf);
}
ap_fixup_virtual_hosts(pconf, server_conf);
ap_fini_vhost_config(pconf, server_conf);
apr_sort_hooks();
- apr_clear_pool(plog);
+ apr_pool_clear(plog);
ap_run_open_logs(pconf, plog, ptemp, server_conf);
ap_post_config_hook(pconf, plog, ptemp, server_conf);
apr_pool_destroy(ptemp);
apr_lock_release(accept_mutex);
break;
}
- apr_clear_pool(ptrans);
+ apr_pool_clear(ptrans);
}
ap_update_child_status(0, child_slot, SERVER_DEAD, (request_rec*)NULL);
pthread_mutex_unlock(&idle_thread_count_mutex);
break;
}
- apr_clear_pool(ptrans);
+ apr_pool_clear(ptrans);
}
pthread_mutex_lock(&thread_pool_parent_mutex);
pthread_mutex_unlock(&idle_thread_count_mutex);
break;
}
- apr_clear_pool(ptrans);
+ apr_pool_clear(ptrans);
}
pthread_mutex_lock(&thread_pool_parent_mutex);
current_conn = NULL;
- apr_clear_pool(ptrans);
+ apr_pool_clear(ptrans);
if ((ap_max_requests_per_child > 0
&& requests_this_child++ >= ap_max_requests_per_child)) {
current_conn = NULL;
- apr_clear_pool(ptrans);
+ apr_pool_clear(ptrans);
if ((ap_max_requests_per_child > 0
&& requests_this_child++ >= ap_max_requests_per_child)) {
}
break;
}
- apr_clear_pool(ptrans);
+ apr_pool_clear(ptrans);
}
apr_pool_destroy(tpool);
while (1) {
- apr_clear_pool(context->ptrans);
+ apr_pool_clear(context->ptrans);
context->accept_socket = remove_job();
if (context->accept_socket == -1) {
return NULL;
int rc, i;
/* reset the buffer pools */
- apr_clear_pool(context->ptrans);
+ apr_pool_clear(context->ptrans);
context->sock = NULL;
/* recreate and initialize the accept socket if it is not being reused */