Commit 4833795e authored by Ryan Bloom's avatar Ryan Bloom
Browse files

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.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84566 13f79535-47bb-0310-9956-ffa450edef68
parent bb01cfef
Loading
Loading
Loading
Loading
+2 −0
Changes for server/main.c: 2 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -308,6 +308,8 @@ API_EXPORT_NONSTD(int) main(int argc, char *argv[])

    g_pHookPool=pglobal;

    ap_initialize();

    ap_setup_prelinked_modules(process);

    ap_create_context(&pcommands, pglobal);