Merge pull request #201 from feross/disable-clientTracking

Disable ws server clientTracking
This commit is contained in:
Feross Aboukhadijeh 2017-02-09 23:13:14 +01:00 committed by GitHub
commit b3103181fa

View File

@ -118,7 +118,11 @@ function Server (opts) {
})
})
}
self.ws = new WebSocketServer({ server: self.http, perMessageDeflate: false })
self.ws = new WebSocketServer({
server: self.http,
perMessageDeflate: false,
clientTracking: false
})
self.ws.address = function () {
return self.http.address()
}