-
Notifications
You must be signed in to change notification settings - Fork 14
Split rx continues after tx is closed #63
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
Comments
Howdy. Just wondering if there are any thoughts on this? I can imagine this being problematic for any use of splitting the socket. Thanks. |
Hey @huntc, in theory the read half should terminate automatically once it receives the echoed close frame. I'll have to have a look into this to see if it's not happening as expected |
Thanks @SirCipher ! Hopefully, the above code modifications to the |
Hi @SirCipher - is there anything I can do here? Happy to push a PR if you can guide me on what area I should be looking at. Thanks. |
Were you able to reproduce it @SirCipher ? |
My expectation when splitting the rx and tx was that closing the tx would cause the
rx.read
call to fail the read or generate a close message. Neither happens, and the receive function continuous. Is this the expected behaviour? If so then should we periodically timeout the read to test whether the connection remains open?The text was updated successfully, but these errors were encountered: