sending ack to server without prior handshake results in broken pipe
Closed this issue · 1 comments
edwindotcom commented
- python wsdump.py ws://localhost:8080/ws
- run this:
{"messageType":"ack"}
actual:
2013/06/10 16:00:01 [3] worker: Socket received {"messageType": "ack"}
2013/06/10 16:00:01 [3] worker: Client Read buffer, map[messageType:ack]
2013/06/10 16:00:01 [1] worker: Undefined UAID for socket. Aborting.
2013/06/10 16:00:01 [3] server: Server Handling command {%!s(int=6) }
work around: if you send a 'hello' handshake first, the server does not break the socket