Misaka
f184e7f5bf
Add support for adding custom trackers
2024-09-24 21:55:02 +08:00
Igor Katson
fb15e070a0
trying to figure out new github sporadic errors
2024-09-22 12:15:21 +01:00
Ivan Zderadicka
f7a812439b
Change to restarting of dead peers ( #239 )
...
* Logging died peers
* Ignore incoming for retry, cancel retries after download is complete
* Remove cancel
* Add incoming flag to PeerHandler
* Cleaning up, plus debug
* Fix debug style
2024-09-22 08:31:57 +01:00
Igor Katson
2c6a9f7a14
Remove custom "merge_streams" in favor of tokio_stream
2024-09-20 09:38:54 +01:00
Igor Katson
decf29a910
merge_streams: shorten the code a tiny bit
2024-09-20 09:38:53 +01:00
Igor Katson
b3263c24d3
fixed span.enter in session
2024-09-15 21:57:50 +01:00
Igor Katson
a38385f3b5
use walkdir create in another place instead of custom code
2024-09-13 13:04:37 +01:00
Igor Katson
dedee2ef08
Watching works fine
2024-09-13 12:58:09 +01:00
Igor Katson
a73f921c5f
one line anyhow error formatting
2024-09-13 12:36:32 +01:00
Igor Katson
06613d9ef1
watching basic version works
2024-09-13 12:34:51 +01:00
Igor Katson
8974a013ce
Move on_piece_completed() to a more appropriate place
2024-09-13 09:25:52 +01:00
Igor Katson
88c8e51ab8
Merge pull request #233 from izderadicka/pex2
...
In PEX we should also look at dropped peers
2024-09-13 09:01:54 +01:00
Igor Katson
00daae97ed
Reorder removal so that mmap is removed before storage
2024-09-13 00:20:37 +01:00
Igor Katson
816838cdf0
Fastresume: check at least one piece from each file
2024-09-12 23:59:50 +01:00
Ivan
bf7f78b602
In PEX we should also look at dropped peers
2024-09-08 14:30:36 +02:00
Igor Katson
6bf1d9b328
Merge pull request #231 from ikatson/dlna-features
...
[UPnP / DLNA] Updates for Samsung to work
2024-09-02 13:44:17 +01:00
Igor Katson
86c68052ef
Conditionally insert DLNA headers only if asked for
2024-09-02 13:21:09 +01:00
Igor Katson
0cb34d9bf1
Headers for Samsung TV to work
2024-09-02 13:01:02 +01:00
Igor Katson
ff7924ff78
UPNP: add size attribute
2024-09-02 12:04:50 +01:00
Igor Katson
bf910d39f2
Add some browsemetadata tests
2024-09-02 11:55:26 +01:00
Igor Katson
ecf41de72b
Restore URLs with better filenames
2024-09-02 11:51:08 +01:00
Igor Katson
8d10a8a69c
UPNP: better ID handling + only ASCII in URLs
2024-09-02 11:41:33 +01:00
Igor Katson
79a8451519
Implement parent_id=-1
2024-09-02 11:14:09 +01:00
Igor Katson
8ab3d4d428
container parent default -1
2024-09-02 11:14:09 +01:00
Igor Katson
2d4b467055
Implement BrowseMetadata
2024-09-02 11:13:49 +01:00
Artrix9095
135a505455
Remove error when adding duplicate torrents
2024-09-01 10:40:17 -07:00
Igor Katson
206bcde06f
Attempting to connect even if we have full torrent (as other clients do, to attempt upload)
2024-08-31 12:56:47 +01:00
Igor Katson
b60ec6d919
peer has full torrent debug message
2024-08-31 12:53:56 +01:00
Igor Katson
b60850946e
Fix: unchoke now sent after Bitfield properly, not before
2024-08-31 12:15:22 +01:00
Igor Katson
3f014ee80a
Sending your ip as part of peer_connection.rs
2024-08-31 12:15:22 +01:00
Artrix9095
0b2a11ec5e
Standardized m3u8 formatting
2024-08-29 14:58:46 -07:00
Igor Katson
0d0ba84ef6
Report progress when validating fastresume data
2024-08-29 15:43:28 +01:00
Igor Katson
9225e126d9
Check SOME fastresume data, dont trust it completely.
2024-08-29 15:43:19 +01:00
Igor Katson
1d48a5198b
Send client name in extended handshake
2024-08-29 13:08:55 +01:00
Igor Katson
0bb1c77456
Decode more peer ids
2024-08-29 12:48:14 +01:00
Igor Katson
15b254c47c
Refactor content_directory into files
2024-08-29 11:57:18 +01:00
Igor Katson
d6b1c47d45
Add #[track_caller] to all spawns so that tokio-console works (if enabled)
2024-08-29 10:30:06 +01:00
Igor Katson
edba359400
Make tokio-console feature flag actually work
2024-08-29 10:29:55 +01:00
Igor Katson
fc7ae3bbe5
[Feature] option to disable upload
2024-08-28 18:02:25 +01:00
Igor Katson
9f798696ff
reduce noisy test logs
2024-08-28 17:44:46 +01:00
Igor Katson
b174afaa12
UPNP: send notifies on all interfaces, no need to specify hostname anymore
2024-08-28 13:38:11 +01:00
Igor Katson
14e0c9d833
Remove duplicate ut_pex message
2024-08-28 10:20:58 +01:00
Igor Katson
9d1ef5c35c
Shorten ByteBuf trait bounds everywhere
2024-08-28 10:20:58 +01:00
Igor Katson
90bfb85bcc
Some cleanups for utpex
2024-08-28 10:20:45 +01:00
Ivan
5e09525dd5
Feeding peers from PEX added - PoC
2024-08-28 10:10:34 +01:00
Ivan
bbc951733f
PEX: Announce support and message definition
2024-08-28 10:06:16 +01:00
LIAUD Corentin
9183df0ebd
fix: fixes according to PR comments
...
- Reset previous implementation of InMemoryExampleStorage
- Implement default (empty) behaviour of on_piece_completed in trait
itself
- Now passing a ValidPieceIndex in on_piece_completed
2024-08-28 08:28:14 +02:00
LIAUD Corentin
35d57ae8a2
feat: add on_piece_completed method on TorrentStorage
2024-08-27 22:00:14 +02:00
Igor Katson
bf9d75e748
Graceful shutdown
2024-08-26 18:25:22 +01:00
Igor Katson
c12fcd7902
Fix a rare deadlock
2024-08-25 15:43:13 +01:00