LDAP connection pool did not release/close connections with
"LDAPConnectionPoolTTL 0". PR58037.
Submitted by: Ted Phelps <phelps gnusto.com>
committed by: covener
Submitted by: covener
Reviewed/backported by: jim
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@
1686275 13f79535-47bb-0310-9956-
ffa450edef68
data during read of chunked request bodies. PR 58049.
[Edward Lu <Chaosed0 gmail.com>]
+ *) 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
using a pre-filled buffer. [Yann Ylavic, Jeff Trawick]
PATCHES ACCEPTED TO BACKPORT FROM TRUNK:
[ start all new proposals below, under PATCHES PROPOSED. ]
- *) mod_ldap: Fix "LDAPConnectionPoolTTL 0" LDAP connection leak.
- trunk patch: http://svn.apache.org/r1685650
- 2.4.x patch: trunk works
- +1: covener, ylavic, jim
PATCHES PROPOSED TO BACKPORT FROM TRUNK:
/* 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);
+ apr_thread_mutex_unlock(ldc->lock);
#endif
- }
}