Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sftp backend never closes open sftp connections #84

Closed
funkyshu opened this issue Aug 21, 2021 · 0 comments · Fixed by #85
Closed

sftp backend never closes open sftp connections #84

funkyshu opened this issue Aug 21, 2021 · 0 comments · Fixed by #85
Assignees
Labels

Comments

@funkyshu
Copy link
Member

In a log lived application, when a vfs sftp backend filesystem falls out of scope, it doesn't disconnect the underlying ssh connection to remote server. The connections are only severed by restarting the either the calling application or the sftp server.

As a user of the vfs library, I expect that once I've completed my SFTP operations, I have a way to disconnect my ssh connection to the server.

We should ensure that:

  1. A user has a way to explicitly disconnect the connection from a sftp backed to a server
  2. sftp backend auto-disconnects after 10 seconds of disuse. This value should be configurable via options.
@funkyshu funkyshu added the bug label Aug 21, 2021
@funkyshu funkyshu self-assigned this Aug 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant