Commit graph

655 commits

Author SHA1 Message Date
Igor Katson
b1b76edf10
Increase http_api stream capacity (testing perf optimisation) 2024-10-01 09:52:57 +01:00
Igor Katson
29758c6d8f
Generic peer IP 2024-10-01 09:32:04 +01:00
Ivan
7640218488 Make outgoing addr Option 2024-09-30 19:55:37 +02:00
Ivan
23bd537dd7 Remove commented code 2024-09-28 19:47:48 +02:00
Ivan
1ce5971f07 Add debug and remove unneeded 2024-09-28 19:36:54 +02:00
Ivan
cd7349121c Queuing only peers that will be retried 2024-09-26 21:30:25 +02:00
Ivan
a31e8344b2 Format - delete trailing spaces 2024-09-26 19:19:56 +02:00
Ivan
aec1eeef34 Enum pro outgoing addr and some fixes 2024-09-26 19:15:16 +02:00
Ivan
4bd757173d Set outgoing IP address for incomming peers after Ext. handshake 2024-09-26 18:11:05 +02:00
Ivan
a483bc6586 Update outgoing address for incoming peers 2024-09-25 22:32:38 +02:00
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