Fixed handshake packet

This commit is contained in:
Guillermo Rauch
2012-01-03 10:37:10 -08:00
parent 61ec2d92dc
commit f66bd79eb4

View File

@@ -49,7 +49,8 @@ Socket.prototype.onOpen = function () {
this.transport.send({
type: 'open'
, data: JSON.stringify({
upgrades: this.server.upgrades()
sid: this.id
, upgrades: this.server.upgrades(this.transport.name)
, pingTimeout: this.server.pingTimeout
, pingInterval: this.server.pingInterval
})