Merge pull request #200 from feross/disable-deflate

perf: disable perMessageDeflate
This commit is contained in:
Diego Rodríguez Baquero 2017-02-08 11:04:10 -05:00 committed by GitHub
commit 4c86e98e44

View File

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