Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
1.0.0-M22
-
None
Description
The LdapNetworkConnection has a "timeout" property (default 30 seconds) which is used as max time we wait for a response. For most LDAP operations this makes sense as they don't allow to specify any time limit.
For search operation a time limit can be specified. But the current code still uses a timeout smaller than the search time limit, which may lead to unexpected errors (see DIRSTUDIO-967). Especially the case when search time limit is 0 is not handled correctly, in that case timeout should be Long.MAX_VALUE.