ap_initialize() can be used to init DSO support. or set up a lazy
initialization for it.
solves the questions, "when do I call it? can I call it more than once?"
Submitted by: Ben Collins-Sussman <sussman@red-bean.com>
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85849
13f79535-47bb-0310-9956-
ffa450edef68
soc = (so_server_conf *)ap_pcalloc(p, sizeof(so_server_conf));
soc->loaded_modules = ap_make_array(p, DYNAMIC_MODULE_LIMIT,
sizeof(moduleinfo));
-#ifndef NO_DLOPEN
- ap_dso_init();
-#endif
return (void *)soc;
}