libtorrent icon indicating copy to clipboard operation
libtorrent copied to clipboard

Data type inconsistency for tracker tiers

Open thalieht opened this issue 2 years ago • 3 comments

libtorrent version (or branch): Current master (8e53eba82fc74c40905fd6b05b6ed24ee6b6b2a1)

https://github.com/arvidn/libtorrent/blob/8e53eba82fc74c40905fd6b05b6ed24ee6b6b2a1/include/libtorrent/aux_/announce_entry.hpp#L181

https://github.com/arvidn/libtorrent/blob/8e53eba82fc74c40905fd6b05b6ed24ee6b6b2a1/include/libtorrent/add_torrent_params.hpp#L134

thalieht avatar Sep 22 '23 15:09 thalieht

do you think it's worthwhile to support more than 255 tiers?

arvidn avatar Sep 27 '23 11:09 arvidn

do you think it's worthwhile to support more than 255 tiers?

Personally, I don't like such artificial restrictions. Given the fact that it might be convenient for some user to assign a separate tier to each tracker, then I would keep their maximum number the same.

glassez avatar Sep 27 '23 11:09 glassez