tomaswolf opened a new pull request, #386: URL: https://github.com/apache/mina-sshd/pull/386
When an SftpFileSystem is obtained via FileSystems.newFileSystem(URI), the new file system is created with an implicit SshClient and a new implicit ClientSession. This session has a heartbeat set to keep it open for the lifetime of the file system, i.e., until the file system is closed. But heartbeats do not guarantee that the session remains open. A server may decide all the same to close the session, for instance, if it is idle for too long. (Even despite heartbeat messages.) So ensure that in such a case, the file system automatically tries to open a new session. Otherwise a client of such an SftpFileSystem must be prepared to deal with these cases at any time, which may be difficult or even impossible to do. -- 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-unsubscr...@mina.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@mina.apache.org For additional commands, e-mail: dev-h...@mina.apache.org