almailer opened a new issue, #768: URL: https://github.com/apache/mina-sshd/issues/768
While investigating a problem I encountered using Spring Integration SFTP, the need for a recommendation on how to prevent connection leaks when, post-connect, a call to ClientSession.auth().verify(timeout) fails. https://github.com/spring-projects/spring-integration/issues/10188#top In the above case, the exception thrown by verify bubbles up without the client session being closed, leaving an open connection which cannot be closed unless the entire SshClient is stopped. Is there a better approach than the suggested wrapping to catch IOException and closing the ClientSession on auth failure? -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
