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 #1275. Hung Dispose() caused by infinite socket timeout #1280

Merged
merged 1 commit into from
Dec 28, 2023

Conversation

jkillingsworth
Copy link
Contributor

@jkillingsworth jkillingsworth commented Dec 23, 2023

This is a fix for the issue described in #1275. This fix is based on a suggestion by @Rob-Hague in #1275 (comment).

Note that I have suppressed the S2222 warning. I believe this to be a false positive. I don't see any execution paths where the lock does not get released.

@WojciechNagorski
Copy link
Collaborator

@Rob-Hague Can you make a review? It's your idea.

Copy link
Collaborator

@Rob-Hague Rob-Hague left a comment

Choose a reason for hiding this comment

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

Thanks!

@WojciechNagorski WojciechNagorski merged commit e7a64dd into sshnet:develop Dec 28, 2023
1 check passed
@WojciechNagorski WojciechNagorski added this to the 2023.0.1 milestone Dec 28, 2023
@jkillingsworth jkillingsworth deleted the fix-hung-dispose branch December 28, 2023 22:14
@WojciechNagorski
Copy link
Collaborator

The 2023.0.1 version has been released to Nuget: https://www.nuget.org/packages/SSH.NET/2023.0.1

@jkillingsworth
Copy link
Contributor Author

The 2023.0.1 version has been released to Nuget: https://www.nuget.org/packages/SSH.NET/2023.0.1

Thank you @WojciechNagorski!

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.

3 participants