On Sun, Mar 13, 2011 at 12:00 PM, Ruediger Pluem <[email protected]> wrote: > > > On 03/12/2011 10:42 PM, [email protected] wrote: >> Author: covener >> Date: Sat Mar 12 21:42:36 2011 >> New Revision: 1081007 >> >> URL: http://svn.apache.org/viewvc?rev=1081007&view=rev >> Log: >> *) mod_ldap: Add LDAPConnectionPoolTTL to give control over lifetime >> of bound backend LDAP connections. PR47634 [Eric Covener] >> >> >> >> Modified: >> httpd/httpd/trunk/CHANGES >> httpd/httpd/trunk/modules/ldap/util_ldap.c >> > >> Modified: httpd/httpd/trunk/modules/ldap/util_ldap.c >> URL: >> http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/ldap/util_ldap.c?rev=1081007&r1=1081006&r2=1081007&view=diff >> ============================================================================== >> --- httpd/httpd/trunk/modules/ldap/util_ldap.c (original) >> +++ httpd/httpd/trunk/modules/ldap/util_ldap.c Sat Mar 12 21:42:36 2011 >> @@ -63,6 +63,9 @@ >> #define AP_LDAP_CHASEREFERRALS_OFF 0 >> #define AP_LDAP_CHASEREFERRALS_ON 1 >> >> +#define AP_LDAP_CONNPOOL_DEFAULT -1 >> +#define AP_LDAP_CONNPOOL_INFINITE -2 > > What is the purpose of this value?
Thanks as always, forgot to follow through on that -- see r1081146 where all negative values to directive are changed to AP_LDAP_CONNPOOL_INFINITE so when we see a -1 in the merge we know it really means the default value.
