[
https://issues.apache.org/jira/browse/DIRAPI-47?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13155332#comment-13155332
]
Emmanuel Lecharny commented on DIRAPI-47:
-----------------------------------------
The problem is that MINA does *not* do any SSL handshake *before* sending the
first message. The consequence is that when the handshake fails, we get an
exception and a messageReceived which contains absolutely no information about
which BindRequest was the origin of the problem. We can't anymore set the
BindRequest to close, so we have to wait for ever (timeout).
this is really bad, and this is a MINA issue.
> LdapConnection.bind fails on timeout but there was SSL handshake problem
> ------------------------------------------------------------------------
>
> Key: DIRAPI-47
> URL: https://issues.apache.org/jira/browse/DIRAPI-47
> Project: Directory Client API
> Issue Type: Bug
> Affects Versions: 1.0.0-M6
> Reporter: Martin Zdila
>
> Affects 1.0.0.M6-SNAPSHOT (from today).
> When SSL handshake error occurs LdapConnection.bind waits for timeout.
> Instead it should fail immediately.
> I can see SSL exception in the logs and after couple of seconds I get timeout
> exception.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira