Arvid Norberg
Arvid Norberg
perhaps this should be exposed to clients: https://github.com/arvidn/libtorrent/blob/RC_2_0/include/libtorrent/aux_/disk_buffer_pool.hpp#L59
the main reason I made this change is that some resources span individual torrents. Such as the disk buffer pool, the cache and the file handle pool. And those work...
> If our custom async_read returns incorrect data to libtorrent, will libtorrent deal with it or set torrent to error state? Neither actually. libtorrent will assume that data previously stored...
I can't think of a reason to allow duplicates in the tracker list. not even in different tiers. The de-facto behavior of tiers is to announce to all tiers in...
one challenge here is that I don't think it's acceptable to have O(n^2) complexity of loading tracker URLs from a torrent. So there would need to be some more sophisticated...
I've started work on a patch that will use a bloom filter to detect duplicates
https://github.com/arvidn/libtorrent/pull/6873
it was fixed in libtorrent master branch (so, not released yet). duplicates torrents are not filtered when parsing a torrent file, they are filtered when adding it to the session.
> hmm.. I think it should still respect the fib. What's "the fib"? > Maybe - on startup and interface changes - it should create one socket foreach interface. That's...
> so is there a callback whenever a packet is ready/buffered or do you have to actively select/poll or just busy-wait in a thread asking the socket if it has...