Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add uTP support #1328

Closed
wants to merge 7 commits into from
Closed
Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.

Always

Just for now

and another typo

  • Loading branch information
pldubouilh committed Mar 7, 2018
commit 9317c8e1002f0e95a05a06cb4bf9cf4ea58145cc
@@ -1700,7 +1700,7 @@ Torrent.prototype._utpConnect = function (peer, connOpts) {

peer.startConnectTimeout(fallbackToTCP)
conn.once('connect', function () { peer.onConnect() })
conn.once('error', function (e) { peer.fallbackTCP(e) })
conn.once('error', function (e) { fallbackToTCP(e) })
conn.once('close', function () { peer.onClose(self) })
}

ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.