-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GH-8797: Fix DefSftpSessionFactory.timeout logic
Fixes #8797 After migration to Apache MINA we have missed to fix `DefaultSftpSessionFactory.timeout` to be `0` by default as it states in its Javadocs and reference manual It is `null` by default which really means an infinite wait. * Fix `DefaultSftpSessionFactory.timeout` to be a reasonable 30 seconds by default * Fix `setTimeout()` Javadocs and respective `session-factory.adoc` * Propagate this `timeout` down to the `SftpClient` for its commands interactions
- Loading branch information
1 parent
9f7acd7
commit ba287ae
Showing
3 changed files
with
47 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters