From: Jeff Trawick Date: Mon, 10 Apr 2006 23:37:43 +0000 (+0000) Subject: Backport a comment from Greg Ames in trunk which helps X-Git-Tag: 2.2.2~48 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d196adc5e88443d3b9ecdeab7cc3958af22d2553;p=thirdparty%2Fapache%2Fhttpd.git Backport a comment from Greg Ames in trunk which helps clarify part of this backport from 10 days ago: http://svn.apache.org/viewcvs.cgi?rev=390548&view=rev git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@393120 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/ldap/util_ldap.c b/modules/ldap/util_ldap.c index 2c8fc55f4dd..3401f50dc57 100644 --- a/modules/ldap/util_ldap.c +++ b/modules/ldap/util_ldap.c @@ -1756,7 +1756,9 @@ static void *util_ldap_create_config(apr_pool_t *p, server_rec *s) util_ldap_state_t *st = (util_ldap_state_t *)apr_pcalloc(p, sizeof(util_ldap_state_t)); - /* Create a pool for mod_ldap to use */ + /* Create a per vhost pool for mod_ldap to use, serialized with + * st->mutex (also one per vhost) + */ apr_pool_create(&st->pool, p); #if APR_HAS_THREADS apr_thread_mutex_create(&st->mutex, APR_THREAD_MUTEX_DEFAULT, st->pool);