From a1ee19d59ad05ce497e284b95b746ad9f66b6af2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20Rodr=C3=ADguez=20Baquero?= Date: Wed, 8 Feb 2017 16:47:54 -0500 Subject: [PATCH 1/2] Set ws server clientTracking to false https://github.com/feross/bittorrent-tracker/pull/200#issuecomment-278450630 --- server.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/server.js b/server.js index 6ba51a7..e899130 100644 --- a/server.js +++ b/server.js @@ -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() } From 7fea1964af7fa02847072952f7dc3608f4a25bb2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20Rodr=C3=ADguez=20Baquero?= Date: Wed, 8 Feb 2017 16:53:50 -0500 Subject: [PATCH 2/2] Update server.js --- server.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server.js b/server.js index e899130..47b9d88 100644 --- a/server.js +++ b/server.js @@ -118,8 +118,8 @@ function Server (opts) { }) }) } - self.ws = new WebSocketServer({ - server: self.http, + self.ws = new WebSocketServer({ + server: self.http, perMessageDeflate: false, clientTracking: false })