bhyde 99/10/07 08:33:07
Modified: src/main http_main.c
Log:
Changed my mind, ptemp maybe "systolic" but since it is empty
during the entire time the server is serving it's best to destroy it.
Revision Changes Path
1.11 +3 -2 apache-2.0/src/main/http_main.c
Index: http_main.c
===================================================================
RCS file: /home/cvs/apache-2.0/src/main/http_main.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- http_main.c 1999/10/07 14:32:06 1.10
+++ http_main.c 1999/10/07 15:33:06 1.11
@@ -334,17 +334,18 @@
ap_clear_pool(plog);
ap_run_open_logs(pconf, plog, ptemp, server_conf);
ap_post_config_hook(pconf, plog, ptemp, server_conf);
- ap_clear_pool(ptemp);
+ ap_destroy_pool(ptemp);
for (;;) {
+ ap_create_context(&ptemp, pconf);
ap_clear_pool(pconf);
- ap_clear_pool(ptemp);
ap_server_root = def_server_root;
ap_run_pre_config(pconf, plog, ptemp);
server_conf = ap_read_config(pconf, ptemp, confname);
ap_clear_pool(plog);
ap_run_open_logs(pconf, plog, ptemp, server_conf);
ap_post_config_hook(pconf, plog, ptemp, server_conf);
+ ap_destroy_pool(ptemp);
if (ap_mpm_run(pconf, plog, server_conf)) break;
}