-
Notifications
You must be signed in to change notification settings - Fork 155
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve handling of tast cancellation in SCP
This commit improves on the handling of CancelledError in SCP, avoiding an issue where AsyncSSH could get stuck waiting for the channel to close in some cases when a KeyboardInterrupt or timeout occurred. Thanks go to Max Orlov for reporting the problem and providing code to reproduce it.
- Loading branch information
Showing
1 changed file
with
20 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