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

Ensure sftp calls always resolve #142

Merged
merged 1 commit into from
Apr 17, 2023
Merged

Conversation

slifty
Copy link
Contributor

@slifty slifty commented Apr 17, 2023

This PR fixes a few SFTP handlers that were not providing a response to the SFTP client, which could result in client hangs in some circumstances.

Resolves #121

We want our service to always return a response (even if the response is
a failure status).  Otherwise, clients will hang while waiting for
a server response.

Issue #121 All sftp events must resolve!
Copy link
Contributor

@Fenn-CS Fenn-CS left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, sorry I missed on this review earlier.

@slifty
Copy link
Contributor Author

slifty commented Apr 17, 2023

@Fenn-CS ty! Also no worries at all, this stuff was added a long long long time ago (maybe even a year ago) and we didn't quite know the ramifications of not sending a response at that time.

@slifty slifty merged commit 5173df8 into main Apr 17, 2023
2 checks passed
@slifty slifty deleted the 121-ensure-sftp-calls-resolve branch April 17, 2023 20:13
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.

All sftp events must resolve!
2 participants