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

hotfix: close received after close #487

Closed
wants to merge 1 commit into from
Closed

Conversation

fogrye
Copy link

@fogrye fogrye commented Sep 9, 2024

waitCloseHandshake waits for client to respond with close frame but handleControl receives it and writes close again which may cause errors for some clients.

This is dump solution but it works in my case. I believe it can be done better, pls check it out.

Fixes: #448

waitCloseHandshake waits for client to respond with close frame but handleControl receives it and writes close again which may cause errors for some clients
@fogrye
Copy link
Author

fogrye commented Sep 9, 2024

I noticed more clever solution so ignore this one

@fogrye fogrye closed this Sep 9, 2024
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.

failed: Close received after close
1 participant