mirror of
https://github.com/apache/httpd.git
synced 2026-01-26 19:01:35 +03:00
ap_dso_init() isn't needed. if/when a platform needs it, then
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
This commit is contained in:
@@ -158,9 +158,6 @@ static void *so_sconf_create(ap_pool_t *p, server_rec *s)
|
||||
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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user