This repository has been archived by the owner on May 31, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Wait for the tunnel to close before finishing client close COMPA…
…SS-4474 (#352) * fix: Wait for the tunnel to close before finishing client close * fix: Update ssh-tunnel mock to match new implementation * fix: Only pick up errors that originated in ssh-client * fix: Increase the timeout to make sure tunnel has a chance to start (and fail) before server stops trying * refactor: Async-ify create tunnel and connect tasks; Expose tunnel through connect instead of overriding client.close method * refactor: Pass tunnel as function parameter * fix: Bump ssh-tunnel version once more * refactor: Asyncify awaiting on tunnel error Co-authored-by: Anna Henningsen <anna@addaleax.net> * fix: Change spied close method Co-authored-by: Anna Henningsen <anna@addaleax.net>
- Loading branch information
1 parent
6bf4c43
commit 299b632
Showing
7 changed files
with
113 additions
and
660 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 was deleted.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Oops, something went wrong.