You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by GitBox <gi...@apache.org> on 2022/08/02 20:43:43 UTC

[GitHub] [mina-sshd] tomaswolf opened a new pull request, #236: [SSHD-1281] Close Nio2Session properly on failure after connecting

tomaswolf opened a new pull request, #236:
URL: https://github.com/apache/mina-sshd/pull/236

   If there's an exception in Nio2Connector after the session was set on
   the DefaultIoConnectFuture, a program might just hang on that session
   until the next read or write attempt, or until a timeout expired.
   
   This was caused by closing the underlying connection, but not properly
   closing the already existing session, and because the session was
   already set on the future, setting the exception had no effect anymore.
   
   Fix this by immediately closing the Nio2Session properly in that case.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@mina.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@mina.apache.org
For additional commands, e-mail: dev-help@mina.apache.org


[GitHub] [mina-sshd] tomaswolf merged pull request #236: [SSHD-1281] Close Nio2Session properly on failure after connecting

Posted by GitBox <gi...@apache.org>.
tomaswolf merged PR #236:
URL: https://github.com/apache/mina-sshd/pull/236


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@mina.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@mina.apache.org
For additional commands, e-mail: dev-help@mina.apache.org