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 sendLoop not exiting when connection can't be established #20

Merged
merged 1 commit into from
May 15, 2019

Conversation

smira
Copy link
Owner

@smira smira commented May 15, 2019

When net.Dial() fails, sendLoop iterates in a loop never allowing to
the client to shutdown.

Fixes: #19

When `net.Dial()` fails, `sendLoop` iterates in a loop never allowing to
the client to shutdown.

Fixes: #19
@smira smira merged commit 448e76c into master May 15, 2019
@smira smira deleted the 19-wrong-address branch October 3, 2023 16:06
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.

Closing a client with invalid host hangs forever
1 participant