Commit graph

158 commits

Author SHA1 Message Date
Igor Katson
b40d33b0ad
Fix a bug with wrong number of queued peers 2023-11-19 21:29:42 +00:00
Igor Katson
b891cd40dd
Remove a couple unused methods 2023-11-19 21:06:14 +00:00
Igor Katson
0c6781ba4b
Saving 2023-11-19 20:59:01 +00:00
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
Cyril Plisko
548fd695d4 clippy::manual_next_back 2023-08-08 11:13:48 +03:00
Cyril Plisko
671b636f47 clippy::unnecessary_mut_passed 2023-08-08 11:13:07 +03:00
Cyril Plisko
6b72d18a7b clippy::needless_pass_by_ref_mut 2023-08-08 11:10:10 +03: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
Adrien Delorme
29d43dfafb
allow to use ApiInternal as a library 2023-05-07 13:12:57 +02:00
Igor Katson
b52824df6f
HTTP API: moved everything back to functions 2022-12-08 23:56:14 +00:00
Igor Katson
1875599706
Bike shedding 2022-12-08 21:10:34 +00:00
Igor Katson
649d616972
Serde errors 2022-12-08 20:58:23 +00:00
Igor Katson
aacb8caaa3
Serde errors 2022-12-08 20:43:02 +00:00
Igor Katson
6968a4e449
Cargo clippy: fix the majority of errors 2022-12-08 20:20:23 +00:00
Igor Katson
871d927596
JSON error (playing with serde API) 2022-12-08 20:13:01 +00:00
Igor Katson
8b621059c1
Reorder code in http_api 2022-12-08 15:56:09 +00:00
Igor Katson
8cb368e73c
Prettify API a bit 2022-12-08 11:06:29 +00:00
Igor Katson
66e62d61e4
Playing with axum HTTP error handling 2022-12-08 09:28:01 +00:00
Igor Katson
813ef92123
Change the info hash for e2e dht test 2022-12-04 22:41:07 +00:00
Igor Katson
9e8f235cb4
Add read/write timeouts and avoid stuck peers 2022-12-04 14:51:48 +00:00
Igor Katson
ae847ce99c
Upgrade deps 2022-12-04 13:12:23 +00:00
Igor Katson
15ae48e5af
Changed warp to axum 2022-12-04 12:53:55 +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
cc8011cf9a
Fix a bug in lengths computation 2021-10-28 11:00:03 +01:00
Igor Katson
37af0a4afb
Propagate sub-folder argument to command line 2021-10-26 10:21:02 +01:00
Igor Katson
804303c526
Merge pull request #9 from pcmid/pcmid/update/target_dir
Update: add sub_folder in AddTorrentOptions
2021-10-25 17:18:02 +01:00
pcmid
681e93a066
Update: add sub_folder in AddTorrentOptions 2021-10-25 22:00:47 +08:00
pcmid
18713515b9
Update: change Mbps to MiB/s 2021-10-25 18:11:46 +08:00
pcmid
8b4027e3d6
Format: cargo fmt 2021-10-25 16:46:30 +08:00
pcmid
188055c812
Fix: multiply the number of bytes by 8 2021-10-25 16:39:14 +08:00
Igor Katson
967a06a196
Enhance the HTTP API with more detail. 2021-10-23 10:06:28 +01:00