diff options
author | Bradley Nicholes <bnicholes@apache.org> | 2008-04-10 00:49:31 +0200 |
---|---|---|
committer | Bradley Nicholes <bnicholes@apache.org> | 2008-04-10 00:49:31 +0200 |
commit | 49c238ec40844610e48ff0402482c2acaf50dfdd (patch) | |
tree | c3e6736e119b9df144b00d7e016222f116381def /modules | |
parent | Handle integer configuration directive parameters with a dedicated (diff) | |
download | apache2-49c238ec40844610e48ff0402482c2acaf50dfdd.tar.xz apache2-49c238ec40844610e48ff0402482c2acaf50dfdd.zip |
Move the initialization of rebind to the post_config handler so that it is done during the actual module load stage rather than the preload stage. If done during the preload stage, the pool passed into the initialization function will be cleared and all allocations will be freed.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@646582 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules')
-rw-r--r-- | modules/ldap/util_ldap.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/ldap/util_ldap.c b/modules/ldap/util_ldap.c index 5d41aa6f5a..72170d8caa 100644 --- a/modules/ldap/util_ldap.c +++ b/modules/ldap/util_ldap.c @@ -2405,9 +2405,6 @@ static void *util_ldap_create_config(apr_pool_t *p, server_rec *s) st->connectionTimeout = 10; st->verify_svr_cert = 1; - /* Initialize the rebind callback's cross reference list. */ - apr_ldap_rebind_init (p); - return st; } @@ -2615,6 +2612,9 @@ static int util_ldap_post_config(apr_pool_t *p, apr_pool_t *plog, result_err ? result_err->reason : ""); } + /* Initialize the rebind callback's cross reference list. */ + apr_ldap_rebind_init (p); + return(OK); } |