Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/webtorrent/webtorrent.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.js b/index.js
index f92576a..74e29a4 100644
--- a/index.js
+++ b/index.js
@@ -74,7 +74,7 @@ class WebTorrent extends EventEmitter {
this.lsd = opts.lsd !== false
this.torrents = []
this.maxConns = Number(opts.maxConns) || 55
- this.utp = WebTorrent.UTP_SUPPORT && opts.utp === true
+ this.utp = WebTorrent.UTP_SUPPORT && opts.utp !== false
this._debug(
'new webtorrent (peerId %s, nodeId %s, port %s)',