forked from hierynomus/sshj
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add lock timeout for remote action (fixes hierynomus#466)
When the remove window size is expanded, a condition is waited on until the remote server acknowledges and completes the action. If the server does not respond, e.g. due to a connectivity issue, then this blocks the client indefinitely. Instead the client waits up to the connection's timeout (500 min default) and fails. This allows users to set a reasonable timeout, fail their operations, and retry accordingly.
- Loading branch information
Showing
2 changed files
with
12 additions
and
3 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