Victor Shyba
|
f650e8f07e
|
test and bugfixes for streaming multifile in a subfolder case
|
2022-12-15 20:24:36 -03:00 |
|
Victor Shyba
|
37adc59b37
|
add tests for streaming, fix bugs
|
2022-12-15 20:24:36 -03:00 |
|
Victor Shyba
|
7746ded9b6
|
add test case for restart, fix torrent file update
|
2022-12-15 20:24:36 -03:00 |
|
Victor Shyba
|
dd103d0f95
|
save file-torrent association for file list
|
2022-12-15 20:24:36 -03:00 |
|
Victor Shyba
|
7410991123
|
save resume data on stop, remove/replace deprecated calls
|
2022-12-15 20:24:36 -03:00 |
|
Victor Shyba
|
df680e7225
|
fix tests and off by one error
|
2022-12-15 20:24:36 -03:00 |
|
Victor Shyba
|
b2f82070b0
|
piece prioritization and deadlines
|
2022-12-15 20:24:36 -03:00 |
|
Victor Shyba
|
b3bff39eea
|
stream from torrent pieces, holding the response until the piece is completed
|
2022-12-15 20:24:36 -03:00 |
|
Victor Shyba
|
6efd4dd19a
|
fix save path, fix prio, update deprecated calls
|
2022-12-15 20:24:36 -03:00 |
|
Victor Shyba
|
8ee5cee8c3
|
update flags, set sequential as a flag
|
2022-12-15 20:24:36 -03:00 |
|
Victor Shyba
|
8212e73c2e
|
stream torrent from file
|
2022-12-15 20:24:36 -03:00 |
|
Lex Berezhny
|
9cc6992011
|
torrents needs loop
|
2022-10-18 17:23:56 -04:00 |
|
Lex Berezhny
|
a1b87460c5
|
passing loop to asyncio functions is deprecated
|
2022-10-18 17:23:56 -04:00 |
|
Victor Shyba
|
84d89ce5af
|
torrent: disable upnp, natpmp.
|
2022-09-09 12:21:59 -03:00 |
|
Victor Shyba
|
0961cad716
|
remove dead code
|
2022-09-09 12:21:59 -03:00 |
|
Victor Shyba
|
03b0d5e250
|
tracker client: extract default timeout and concurreny. Bump concurrency to 100
|
2022-05-11 21:13:30 -03:00 |
|
Victor Shyba
|
629812337b
|
changes from review
|
2022-05-11 21:13:30 -03:00 |
|
Victor Shyba
|
e54cc8850c
|
return KademliaPeers directly into the queue instead of exposing Announcement abstraction
|
2022-05-11 21:13:30 -03:00 |
|
Victor Shyba
|
7cba51ca7d
|
update tests, query with port 0, filter bad ports earlier, make unit tests more reliable
|
2022-05-11 21:13:30 -03:00 |
|
Victor Shyba
|
3dc145fe68
|
make peer list query trackers
|
2022-05-11 21:13:30 -03:00 |
|
Victor Shyba
|
7d560df9fd
|
use same arg name as overriden datagram_received (linting)
|
2022-05-11 21:13:30 -03:00 |
|
Victor Shyba
|
235cc5dc05
|
results are indexed by ip, setdefault after resolve
|
2022-05-11 21:13:30 -03:00 |
|
Victor Shyba
|
c276053301
|
move server implementation to tracker module
|
2022-05-11 21:13:30 -03:00 |
|
Victor Shyba
|
2e85e29ef1
|
peer id PREFIX is a constant
|
2022-05-11 21:13:30 -03:00 |
|
Victor Shyba
|
1169a02c8b
|
make client server updatable from conf
|
2022-05-11 21:13:30 -03:00 |
|
Victor Shyba
|
a7cea4082e
|
tracker:log DNS errors as warning instead of trace
|
2022-05-11 21:13:30 -03:00 |
|
Victor Shyba
|
7e6ea97499
|
make peer id according to BEP20
|
2022-05-11 21:13:30 -03:00 |
|
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 |
|