mirror of
https://github.com/apache/httpd.git
synced 2025-08-08 15:02:10 +03:00
LDAP connection pool did not release/close connections with
"LDAPConnectionPoolTTL 0". PR58037. Submitted by: Ted Phelps <phelps gnusto.com> committed by: covener git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1685650 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
3
CHANGES
3
CHANGES
@@ -1,6 +1,9 @@
|
|||||||
-*- coding: utf-8 -*-
|
-*- coding: utf-8 -*-
|
||||||
Changes with Apache 2.5.0
|
Changes with Apache 2.5.0
|
||||||
|
|
||||||
|
*) mod_ldap: Stop leaking LDAP connections when 'LDAPConnectionPoolTTL 0'
|
||||||
|
is configured. PR 58037. [Ted Phelps <phelps gnusto.com>]
|
||||||
|
|
||||||
*) core: Allow spaces after chunk-size for compatibility with implementations
|
*) core: Allow spaces after chunk-size for compatibility with implementations
|
||||||
using a pre-filled buffer, and log parsing failures at level INFO.
|
using a pre-filled buffer, and log parsing failures at level INFO.
|
||||||
[Yann Ylavic, Jeff Trawick]
|
[Yann Ylavic, Jeff Trawick]
|
||||||
|
@@ -163,10 +163,11 @@ static void uldap_connection_close(util_ldap_connection_t *ldc)
|
|||||||
/* mark our connection as available for reuse */
|
/* mark our connection as available for reuse */
|
||||||
ldc->freed = apr_time_now();
|
ldc->freed = apr_time_now();
|
||||||
ldc->r = NULL;
|
ldc->r = NULL;
|
||||||
#if APR_HAS_THREADS
|
|
||||||
apr_thread_mutex_unlock(ldc->lock);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if APR_HAS_THREADS
|
||||||
|
apr_thread_mutex_unlock(ldc->lock);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user