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:
@@ -163,10 +163,11 @@ static void uldap_connection_close(util_ldap_connection_t *ldc)
|
||||
/* mark our connection as available for reuse */
|
||||
ldc->freed = apr_time_now();
|
||||
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