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

Revert "ssh: ignore timeouts during disconnect" #5465

Closed
wants to merge 1 commit into from

Conversation

eaugeas
Copy link
Contributor

@eaugeas eaugeas commented May 26, 2020

This reverts commit f31760e63b4e9ef1eb25f8f211390f8239388515.

This commit was made to prevent a memory leak in libssh2 when not disconnecting cleanly. However, it prevents curl from timing out the request on time.

@bagder asked me to open a PR to revert those changes

Copy link
Member

@bagder bagder left a comment

Choose a reason for hiding this comment

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

It was a bad idea to break functionality due to possible memory leaks with libssh2.

@bagder
Copy link
Member

bagder commented May 27, 2020

Thanks!

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

Successfully merging this pull request may close these issues.

None yet

2 participants