Commit graph

40 commits

Author SHA1 Message Date
Igor Katson
d5d98aff60
Extract ReadBuf logic into a separate struct 2024-01-02 18:36:07 +00:00
Igor Katson
dfdb6b5fae
Do not ignore errors in reserve_next_needed_piece() 2024-01-02 18:16:16 +00:00
Igor Katson
8cdf44c4fd
Make final stealing less aggressive 2023-12-30 18:27:19 -05:00
Igor Katson
5d4ffae6de
When stealing pieces, only steal from slower peers 2023-12-30 18:27:19 -05:00
Igor Katson
1e525eb91e
Move per-peer piece stats into methods 2023-12-30 18:27:19 -05:00
Igor Katson
325855ba56
Fix only files not working properly (#59)
* 1/n fixing only files - tracking stats better

* 2/n proper tracking of stats when only certain files selected
2023-12-14 11:58:09 +00:00
Igor Katson
98d6a6f054
Trying to optimize logs JS code 2023-12-09 12:25:14 +00:00
Igor Katson
bed7433d8e
Use tokio_util::CancellationToken everywhere 2023-12-07 10:22:17 +00:00
Igor Katson
d258a9afe2
Processing cancel messages 2023-12-06 23:25:52 +00:00
Igor Katson
3a69f04782
Shorten a log line 2023-12-06 11:50:36 +00:00
Igor Katson
0cd875e740
Incoming peers now respect concurrency limits 2023-12-06 00:39:52 +00:00
Igor Katson
91873ed287
Bump seen counters 2023-12-06 00:26:52 +00:00
Igor Katson
fd17ddc46b
Allow peers to reconnect 2023-12-06 00:16:59 +00:00
Igor Katson
ca8989f8e6
Saving 2023-12-05 23:38:05 +00:00
Igor Katson
b224ed2397
Flush messages before disconnecting (lame) 2023-12-05 22:22:59 +00:00
Igor Katson
5e238419f4
Fix a bug with sending interested 2023-12-05 22:14:55 +00:00
Igor Katson
80df2c1001
Display upload speed in Web UI 2023-12-05 20:52:30 +00:00
Igor Katson
4784f3f14b
Uploading seems to work fine now 2023-12-05 20:31:06 +00:00
Igor Katson
efaa36a161
SAving, its broken 2023-12-05 20:10:09 +00:00
Igor Katson
65c69f576b
Code fully compiles for processing incoming peers 2023-12-05 20:10:09 +00:00
Igor Katson
9c7cf61e1a
Handshake clone to owned 2023-12-05 20:10:09 +00:00
Igor Katson
a5ae2988b8
Downgraded a bunch of messages from debug to trace 2023-11-29 23:45:08 +00:00
Igor Katson
6f113c5137
Fatal error handling 2023-11-25 13:53:57 +00:00
Igor Katson
1bea1f9235
Better API for stats printing 2023-11-25 10:11:40 +00:00
Igor Katson
79bd41a552
Can now reload RUST_LOG at runtime from HTTP API 2023-11-25 01:24:57 +00:00
Igor Katson
fa97dedb98
Seems alright now 2023-11-25 00:54:21 +00:00
Igor Katson
17b243921d
Continuing refactor 2023-11-25 00:24:32 +00:00
Igor Katson
4927850ff9
Fixed a bug when unpausing torrents 2023-11-24 21:03:34 +00:00
Igor Katson
d7a37c1b48
Saving 2023-11-24 18:28:46 +00:00
Igor Katson
66d2f224ed
Switch UI to display statuses better 2023-11-24 15:36:37 +00:00
Igor Katson
876afbf41b
Initialization progress reporting 2023-11-24 15:04:36 +00:00
Igor Katson
afbf2a76b9
Should be working ok now 2023-11-24 14:08:02 +00:00
Igor Katson
5e728fc67b
saving 2023-11-24 12:48:22 +00:00
Igor Katson
d8538af25d
[2/n] HUGE REFACTOR to suppor multiple states. Incomplete, broken 2023-11-24 12:44:36 +00:00
Igor Katson
739666ff88
HUGE REFACTOR to suppor multiple states. Incomplete, broken 2023-11-24 09:30:21 +00:00
Igor Katson
cc1ef9d0e4
Create ManagedTorrent struct 2023-11-23 17:14:08 +00:00
Igor Katson
f45a15c89a
Downgrade visibility within librqbit 2023-11-23 16:57:27 +00:00
Igor Katson
84766f92fb
cargo fix 2023-11-23 16:30:38 +00:00
Igor Katson
edaf3e0997
split up librqbit torrent state into smaller files 2023-11-23 16:27:55 +00:00
Igor Katson
7cd6102c6a
Move TorrentState to a torrent_state/live 2023-11-23 15:41:40 +00:00