Set ws server clientTracking to false

https://github.com/feross/bittorrent-tracker/pull/200#issuecomment-278450630
This commit is contained in:
Diego Rodríguez Baquero 2017-02-08 16:47:54 -05:00 committed by GitHub
parent 76165007ba
commit a1ee19d59a

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()
}