mirror of
https://github.com/apache/httpd.git
synced 2025-09-11 09:30:48 +03:00
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
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user