Commit graph

66 commits

Author SHA1 Message Date
Igor Katson
4b3da0bd69
Trying to see why it hangs for a bit sometimes 2023-11-19 20:38:41 +00:00
Igor Katson
17d40824b4
Timing on_received_message 2023-11-19 20:21:26 +00:00
Igor Katson
124c6057be
more counters 2023-11-19 20:15:42 +00:00
Igor Katson
3f0c4b7237
Fix the NotNeeded warning 2023-11-19 20:01:08 +00:00
Igor Katson
2ad288199d
timed existence for lock time debugging 2023-11-19 19:42:19 +00:00
Igor Katson
ff71ade190
timed existence for lock time debugging 2023-11-19 19:40:45 +00:00
Igor Katson
1a55936346
Nothing 2023-11-19 18:32:41 +00:00
Igor Katson
2b842024c0
Debugged one more deadlock (or it was the same one) 2023-11-19 18:15:18 +00:00
Igor Katson
19c3fd70ff
Uninline some methods for easier backtrace debugging 2023-11-19 16:30:56 +00:00
Igor Katson
adf3eef877
Removed a couple deadlocks 2023-11-19 16:25:59 +00:00
Igor Katson
38c99023ac
Change peer states to dashmap 2023-11-19 15:47:14 +00:00
Igor Katson
a745257be2
Split up a couple methods 2023-11-19 14:04:47 +00:00
Igor Katson
d39479a251
Small refactorings 2023-11-19 13:44:14 +00:00
Igor Katson
48a14823fa
Changed log to tracing 2023-11-19 13:05:42 +00:00
Igor Katson
db12bba7a6
Not even sure what I'm doing 2023-11-18 10:08:39 +00:00
Igor Katson
2203ffe4a9
Fixed bugs 2023-11-18 00:20:49 +00:00
Igor Katson
6ebf2120a4
Peers now reconnect! 2023-11-17 23:30:07 +00:00
Igor Katson
55e692d476
2/n Wrap PeerState into peer 2023-11-17 22:51:05 +00:00
Igor Katson
8e50829586
1/n [exponential backoff peers]: refactor "tx" to be once per connected peer 2023-11-17 22:32:04 +00:00
Igor Katson
e1a3f86a24
Try to workaround #17 - windows not letting to open the file while rqbit has it 2023-07-10 12:18:08 +01:00
Igor Katson
a800048b7e
Added --exit-on-download option, only works without the server so far 2023-07-10 11:26:09 +01:00
Igor Katson
6968a4e449
Cargo clippy: fix the majority of errors 2022-12-08 20:20:23 +00:00
Igor Katson
9e8f235cb4
Add read/write timeouts and avoid stuck peers 2022-12-04 14:51:48 +00:00
Igor Katson
99c5830b97
Changed the loglevel of annoying log message "we are choked" to debug 2021-11-13 21:22:12 +00:00
Igor Katson
5de63af783 Prioritize last piece. Dont ask me why :) 2021-10-16 13:18:25 +01:00
Igor Katson
f2c509359f Print download speed 2021-10-02 09:58:57 +01:00
Igor Katson
bca55891c1 Wrap reading files into block_in_place 2021-09-29 19:10:32 +01:00
Igor Katson
98dff76c40 DHT stats in HTTP API 2021-07-14 13:40:56 +01:00
Igor Katson
9e3e3a27ff Nothing much 2021-07-13 14:59:44 +01:00
Igor Katson
1cd6caee76 Fix bugs 2021-07-13 13:16:59 +01:00
Igor Katson
6eef3b9b66 A small refactor 2021-07-12 21:59:08 +01:00
Igor Katson
3beac77e5d JSON HTTP API 2021-07-08 23:03:58 +01:00
Igor Katson
44c760bcc2 Nothing 2021-07-04 14:38:44 +01:00
Igor Katson
b4f6d8b93d Nothing 2021-07-04 12:17:06 +01:00
Igor Katson
60c0c73005 Nothing 2021-07-04 12:11:02 +01:00
Igor Katson
64b1e47c77 Add a semaphore around peers 2021-07-04 11:36:16 +01:00
Igor Katson
9472d66bf9 Update visiibilty 2021-07-04 11:05:20 +01:00
Igor Katson
ad867e8e3c Move everything to workspaces 2021-07-03 19:10:59 +01:00
Igor Katson
487ff50bd7 Clippy 2021-07-03 15:52:39 +01:00
Igor Katson
9038630622 Trying to make torrent manager not depend on the whole metainfo 2021-07-03 09:13:09 +01:00
Igor Katson
897517521e Peer info reader done 2021-07-03 00:22:46 +01:00
Igor Katson
46e87a9b80 Split stuff into more files 2021-07-02 22:32:55 +01:00
Igor Katson
302e95649d Screwing around with extended messages 2021-07-02 13:00:46 +01:00
Igor Katson
d722f0edcb Remove all linter warnings 2021-07-02 10:21:19 +01:00
Igor Katson
1f299247d2 Abstract away peer handler 2021-07-02 10:12:48 +01:00
Igor Katson
5942e6a9d5 Updates 2021-07-01 19:17:44 +01:00
Igor Katson
47966e094c Add speed estimator 2021-06-30 23:26:22 +01:00
Igor Katson
c1f34a6599 Just messing around with Rust typing 2021-06-30 18:42:16 +01:00
Igor Katson
32f2ea4953 Poor mans speed computation 2021-06-30 10:31:30 +01:00
Igor Katson
a3e84e4a99 Add http api for debugging 2021-06-30 10:14:33 +01:00