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

De-duplicate tracker list #306

Closed
feross opened this issue May 5, 2015 · 1 comment
Closed

De-duplicate tracker list #306

feross opened this issue May 5, 2015 · 1 comment
Labels

Comments

@feross
Copy link
Member

@feross feross commented May 5, 2015

There's no mechanism to de-duplicate the list of trackers right now. If a .torrent file or magnet link lists the same tracker twice, we shouldn't connect to that tracker twice.

The tracker list is returned by parse-torrent as the "announce" and "announceList" properties. We could just use uniq on the array, if this issue in parse-torrent is fixed: webtorrent/parse-torrent#9

feross added a commit to webtorrent/magnet-uri that referenced this issue May 12, 2015
@feross

This comment has been minimized.

Copy link
Member Author

@feross feross commented May 12, 2015

Released as 0.38.0.

@lock lock bot locked as resolved and limited conversation to collaborators May 6, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.