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

Fix typo post-refactor

  • Loading branch information
pldubouilh committed Mar 7, 2018
commit 81814fd0dd9d702f8a469641d9d223554c3a4a22
@@ -199,15 +199,15 @@ Peer.prototype.onClose = function (torrent) {
if (torrent.destroyed || torrent.done) return

if (self.retries >= RECONNECT_WAIT.length) {
self._debug(
debug(
'conn %s closed: will not re-add (max %s attempts)',
self.addr, RECONNECT_WAIT.length
)
return
}

var ms = RECONNECT_WAIT[self.retries]
self._debug(
debug(
'conn %s closed: will re-add to queue in %sms (attempt %s)',
self.addr, ms, self.retries + 1
)
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.