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

fix: Revert closing connection in SFTP get_client #320

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

ds-filipknefel
Copy link
Contributor

Not closing the client was thought to be a cause of a bug with socket being closed in a inappropriate way.
It seems however that the issue persist and with us closing the connection ourselves we end up with next calls using the same filesystem failing due to closed socket.

We revert the change to avoid this new issue while investigating the root cause. Sample code which would fail because we close the client can be taken from the SFTP Source documentation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant