mirror of
https://github.com/apache/httpd.git
synced 2025-08-08 15:02:10 +03:00
always use (via break) the LDAP connection we're looking at once it's a match,
whether it's used as-is or has just been unbound. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1086433 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -674,13 +674,10 @@ static util_ldap_connection_t *
|
|||||||
"Removing LDAP connection last used %" APR_TIME_T_FMT " seconds ago",
|
"Removing LDAP connection last used %" APR_TIME_T_FMT " seconds ago",
|
||||||
(now - l->freed) / APR_USEC_PER_SEC);
|
(now - l->freed) / APR_USEC_PER_SEC);
|
||||||
uldap_connection_unbind(l);
|
uldap_connection_unbind(l);
|
||||||
/* Go ahead and use it, so we don't create more just to unbind some other old ones */
|
/* Go ahead (by falling through) and use it, so we don't create more just to unbind some other old ones */
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
break;
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
#if APR_HAS_THREADS
|
#if APR_HAS_THREADS
|
||||||
/* If this connection didn't match the criteria, then we
|
/* If this connection didn't match the criteria, then we
|
||||||
|
Reference in New Issue
Block a user