-
Notifications
You must be signed in to change notification settings - Fork 61
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
KeepAliveTimeout option causes multiple connections to be created and orphaned #20
Labels
Comments
This was referenced Jan 28, 2021
Closed
The root cause of the bug is simultaneous running of the |
ihorserba
referenced
this issue
in ihorserba/recws
Apr 10, 2021
The issue is still present |
Please look my pr #56 Here problem in twice call
|
Please see #61 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If you're blocking on
ReadMessage()
, while the goroutine forKeepAliveTimeout
fires acloseAndReconnect
, theReadMessage
will fire a secondcloseAndReconnect
. This causes more and more connections to be created and orphaned.The text was updated successfully, but these errors were encountered: