]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Backport a comment from Greg Ames in trunk which helps
authorJeff Trawick <trawick@apache.org>
Mon, 10 Apr 2006 23:37:43 +0000 (23:37 +0000)
committerJeff Trawick <trawick@apache.org>
Mon, 10 Apr 2006 23:37:43 +0000 (23:37 +0000)
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

modules/ldap/util_ldap.c

index 2c8fc55f4dde703471ad8aab8b240db4de0fff5f..3401f50dc57b0ddcb8d2c2c0ac3e429a7e17ff89 100644 (file)
@@ -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);