diff --git a/docs/TODO b/docs/TODO index a1dd86d..97c02f6 100644 --- a/docs/TODO +++ b/docs/TODO @@ -1,3 +1,9 @@ +- Support protocol version 07: + http://tools.ietf.org/html/draft-ietf-hybi-thewebsocketprotocol-07 + +- Support multiple targets that are selected by the path line. Some + sort of wildcarding of ports too. + - wstelnet: support CSI L and CSI M - create gevent version: diff --git a/include/websock.js b/include/websock.js index dcf6453..af6a4e2 100644 --- a/include/websock.js +++ b/include/websock.js @@ -252,7 +252,7 @@ function init() { function open(uri) { init(); - websocket = new WebSocket(uri); + websocket = new WebSocket(uri, 'websockify'); websocket.onmessage = recv_message; websocket.onopen = function(e) {