SSL handshake is not done when the socket is connected, but when the first 
message is sent
------------------------------------------------------------------------------------------

                 Key: DIRMINA-872
                 URL: https://issues.apache.org/jira/browse/DIRMINA-872
             Project: MINA
          Issue Type: Bug
    Affects Versions: 2.0.4
            Reporter: Emmanuel Lecharny
            Priority: Blocker
             Fix For: 2.0.5


We have an issue when we set SSL : the handshake is not done until the first 
message is sent.

This is really bad because the sessionCreated event is processed, even if the 
SSL handshake could fail.

It does not make sense to send this sessionCreated event unless the SSL 
handshake has been done.

As we have no way to know if the user has tried to connect the socket before 
sending any message, we should consider that the session is not created until 
we have processed the handshake.

--
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

        

Reply via email to