Track tasks and feature requests
Join 40 million developers who use GitHub issues to help identify, assign, and keep track of the features and bug fixes your projects need.
Sign up for free See pricing for teams and enterprisesNot following BEP12 'announce-list' #513
Comments
This comment has been minimized.
This comment has been minimized.
|
Thanks for looking into this. I think the spec is a bit vague here, to be honest. I read it this way: Announce to all tiers, but in order. Example: Announce to Tier 1, wait for response or timeout, then announce to Tier 2, etc. If there is more than one tracker in a tier, then any tracker will do and one-at-a-time should be tried as a load-balancing strategy. WebTorrent currently just announces to every tracker immediately. Notably, Transmission appears to announce to all tiers immediately too, but I haven't checked how it handles multiple trackers in the same tier. Announcing to all tiers immediately seems perfectly okay. It doesn't materially change what would happen since all tiers will be announced to anyway. It just improves the speed of peer finding. I'm fine with copying Transmission's behavior here. As far as multiple trackers in a single tier – I've never seen a torrent like this, so I don't think it's super important to get this right. @DiegoRBaquero - Is this actually an issue for you? If not, I'd prefer to keep the implementation simple. Note: |
This comment has been minimized.
This comment has been minimized.
|
Sorry – was wrong. You can still specify the full |
This comment has been minimized.
This comment has been minimized.
|
It's doesn't really bother me not following the specification. I just had a look into it because of my comment #427 where I suggest that using opts.announceList overrides the default trackers list and using opts.announce adds your specified trackers to the default ones.
I see an opportunity there to add the extra functionality. In my opinion, announcing to all available trackers in all available tiers immediately should remain and be the default. |
This comment has been minimized.
This comment has been minimized.
|
Nice, closing this now. |
This comment has been minimized.
This comment has been minimized.
|
This thread has been automatically locked because it has not had recent activity. To discuss futher, please open a new issue. |
At the moment WebTorrent announces to all the announce-list instead of following the specification.
Right now, as default trackers are default listed, a torrent should only use BTorrent's tracker (2nd default) if it can't reach WebTorrent's tracker. It, howevers, uses both trackers.
http://bittorrent.org/beps/bep_0012.html