Remove some comments.

This commit is contained in:
James Coglan
2011-12-05 09:38:10 +00:00
parent 7e2461e153
commit 85ddb3f3dc
2 changed files with 2 additions and 8 deletions
+1 -4
View File
@@ -21,10 +21,7 @@ var instance = {
'Connection: Upgrade\r\n' +
'WebSocket-Origin: ' + this._socket.request.headers.origin + '\r\n' +
'WebSocket-Location: ' + this._socket.url + '\r\n\r\n');
} catch (e) {
// socket closed while writing
// no handshake sent; client will stop using WebSocket
}
} catch (e) {}
},
parse: function(data) {
+1 -4
View File
@@ -139,10 +139,7 @@ var instance = {
'Upgrade: websocket\r\n' +
'Connection: Upgrade\r\n' +
'Sec-WebSocket-Accept: ' + accept + '\r\n\r\n');
} catch (e) {
// socket closed while writing
// no handshake sent; client will stop using WebSocket
}
} catch (e) {}
},
createHandshake: function() {