Victor Shyba
|
3c46cc4fdd
|
expire connection id quicker as some trackers have it set low
|
2022-05-11 21:13:30 -03:00 |
|
Victor Shyba
|
6e5c7a1927
|
use cache_concurrent to avoid requesting the same connection_id multiple times
|
2022-05-11 21:13:30 -03:00 |
|
Victor Shyba
|
16a2023bbd
|
stop tasks before removing transport
|
2022-05-11 21:13:30 -03:00 |
|
Victor Shyba
|
99fc7178c1
|
better way to batch announce + handle different intervals for different trackers
|
2022-05-11 21:13:30 -03:00 |
|
Victor Shyba
|
d4aca89a48
|
handle multiple results from multiple trackers
|
2022-05-11 21:13:30 -03:00 |
|
Victor Shyba
|
407c570f8b
|
tests: lower timeout, add test with bad and good mixed
|
2022-05-11 21:13:30 -03:00 |
|
Victor Shyba
|
0e4f1eae5b
|
reduce timeout to 10, fix lints
|
2022-05-11 21:13:30 -03:00 |
|
Victor Shyba
|
eccf0e6234
|
fix reusing result interval from failed expired attempt
|
2022-05-11 21:13:30 -03:00 |
|
Victor Shyba
|
a3da041412
|
fix exceptions on shutdown, stop using cancel_tasks
|
2022-05-11 21:13:30 -03:00 |
|
Victor Shyba
|
2f1617eee4
|
less verbose on timeouts, dont count timeouts, fix stop
|
2022-05-11 21:13:30 -03:00 |
|
Victor Shyba
|
05124d41ae
|
only log when really announcing, stop counting cached ones
|
2022-05-11 21:13:30 -03:00 |
|
Victor Shyba
|
42fd1c962e
|
stop tracker tasks on shutdown
|
2022-05-11 21:13:30 -03:00 |
|
Victor Shyba
|
47e432b4bb
|
make it less verbose, only log after all events are fired
|
2022-05-11 21:13:30 -03:00 |
|
Victor Shyba
|
61c99abcf1
|
avoid readding the same hash when tracker is busy with too many files
|
2022-05-11 21:13:30 -03:00 |
|
Victor Shyba
|
28fdd62945
|
move concurreny control to lower layer
|
2022-05-11 21:13:30 -03:00 |
|
Victor Shyba
|
30acde0afc
|
at most 10 announces concurrently
|
2022-05-11 21:13:30 -03:00 |
|
Victor Shyba
|
2d9c5742c7
|
cache results, save interval on tracker
|
2022-05-11 21:13:30 -03:00 |
|
Victor Shyba
|
43e50f7f04
|
fix subscribe_hash
|
2022-05-11 21:13:30 -03:00 |
|
Victor Shyba
|
888e9918a6
|
improve timeout handling
|
2022-05-11 21:13:30 -03:00 |
|
Victor Shyba
|
9e9a64d989
|
evented system for tracker announcements
|
2022-05-11 21:13:30 -03:00 |
|
Victor Shyba
|
3989eef84b
|
return whole announcement so the caller knows the interval
|
2022-05-11 21:13:30 -03:00 |
|
Victor Shyba
|
dc6f8c4fc4
|
add arg to announce stopped, removing the announcement
|
2022-05-11 21:13:30 -03:00 |
|
Victor Shyba
|
2df8a1d99d
|
make a helper function to announce
|
2022-05-11 21:13:30 -03:00 |
|
Victor Shyba
|
006391dd26
|
move udp server to test file, add link to BEP15
|
2022-05-11 21:13:29 -03:00 |
|
Victor Shyba
|
4a0bf8a702
|
add torrent udp tracker client, server and tests
|
2022-05-11 21:13:29 -03:00 |
|