Closed
Description
With the new DefaultSftpSessionFactory(true)
, the SftpSession.close()
leads to the problem in concurrent environment:
java.io.UncheckedIOException: org.apache.sshd.common.SshException: Channel is being closed
More info in: apache/mina-sshd#527
Right now the workaround is to use CachingSessionFactory
which does not initiate a physical close of the client session.
This is a side effect of the fix from: #9272.