Closed schmorp closed 1 year ago
Currently, this module sends a reserved close code (1005) on connection close (in AnyEvent::WebSocket::Connection), which is a protocol violation. It should default to a valid code, such as 1000 (or possibly 1001).
I agree should be 1000.
@debug-ito Are there any ramifications to AnyEvent::WebSocket::Server if I change the default code for close?
AnyEvent::WebSocket::Server
I think it's ok to change the default code.
Fixed in 0.55.
Currently, this module sends a reserved close code (1005) on connection close (in AnyEvent::WebSocket::Connection), which is a protocol violation. It should default to a valid code, such as 1000 (or possibly 1001).