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
WebSocket server never send back close connection #1358
Comments
@buster84 I wonder if using |
@raboof Thanks!! I didn't know that flow. The flow works as we expect. I agree with mentioning about this in the documentation. Also we should provide public api which use |
@buster84 that sounds reasonable, would you be interested in PR'ing that? |
@raboof Thank you for the response. I will send PR for adding new api which use |
None of us are native english speakers ;-) Please give it a try and we'll help out! :-) |
Okay, thanks. I will try to write the document in this weekend. |
Hi,
I found a problem that WebSocket server never send back WebSocket Close Connection when server output is infinite. Some WS libraries can't close connection because of this problem(At least SocketRocket and jetfire can't close connection).
I checked InfinitOutputServer.scala never send back Close connection and InfinitOutputServer.js do send back close connection using wireshark.
InfinitOutputServer.scala result is:
And InfinitOutputServer.js result is:
rfc6455 says:
I guess current behavior breaks RFC because of
the endpoint MUST send a Close frame in response.
.Problematic code is here
The text was updated successfully, but these errors were encountered: