Descriptionwebsocket: return an error HTTP response for bad websocket request.
websocket spec had changed server-side requiements to return
an HTTP response with an appropriate error code (such as 400 Bad
Request) when it finds client did not send a handshake that matches
websocket protocol, rather than just closing connection.
It needs to flush out response before closing connection.
Fixes issues 2396.
Patch Set 1 #Patch Set 2 : diff -r 19bc41642ed8 https://go.googlecode.com/hg/ #Patch Set 3 : diff -r 19bc41642ed8 https://go.googlecode.com/hg/ #
MessagesTotal messages: 3
|