Skip to content

Commit

Permalink
fixed small handshake bug
Browse files Browse the repository at this point in the history
  • Loading branch information
mafintosh committed Oct 21, 2011
1 parent d884ce2 commit d90f208
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.js
Expand Up @@ -110,7 +110,7 @@ exports.listen = function(port, onsocket, callback) {
var transport = delimited.create();

connection.write(''+
'HTTP/1.1 101 Web Socket Protocol Handshake\r\n'+
'HTTP/1.1 101 Switching Protocols\r\n'+
'Upgrade: jsonsocket\r\n'+
'Connection: Upgrade\r\n'+
'\r\n'
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name":"message-sockets",
"version":"0.1.0",
"version":"0.2.0",
"description":"a message socket",
"keywords": ["sockets"],
"dependencies": {"common":">=0.2.0"},
Expand Down

0 comments on commit d90f208

Please sign in to comment.