You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by rb...@hyperreal.org on 2000/02/03 20:38:14 UTC
cvs commit: apache-2.0/src/main http_main.c
rbb 00/02/03 11:38:12
Modified: src/main http_main.c
Log:
APR requires that ap_initialize is called as one of the first functions.
It sets up the rest of the APR types. This was causing lockups whenever
we tried to us an APR lock.
Revision Changes Path
1.28 +2 -0 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.27
retrieving revision 1.28
diff -u -r1.27 -r1.28
--- http_main.c 2000/01/28 18:01:14 1.27
+++ http_main.c 2000/02/03 19:38:08 1.28
@@ -308,6 +308,8 @@
g_pHookPool=pglobal;
+ ap_initialize();
+
ap_setup_prelinked_modules(process);
ap_create_context(&pcommands, pglobal);