From 65c1d8073cc843992935c1cc1abd99c8c83fee86 Mon Sep 17 00:00:00 2001 From: Joel Martin Date: Tue, 26 Apr 2011 09:16:03 -0500 Subject: [PATCH] Update TODO. Add 'websockify' as protocol. --- docs/TODO | 6 ++++++ include/websock.js | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) 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) {