Commit graph

560 commits

Author SHA1 Message Date
Igor Katson
a2bb1220a9
Strict typescript 2023-12-02 14:49:44 +00:00
Igor Katson
21b644e394
Workaround a crash in dev mode 2023-12-02 13:01:50 +00:00
Igor Katson
0fba121f9e
cargo update 2023-12-02 12:49:18 +00:00
Igor Katson
137d12cb9c
Tweak some things so that we can embed Web UI into Tauri 2023-12-02 12:48:03 +00:00
Igor Katson
950ed816d1
Prep for tauri 2023-12-01 18:08:41 +00:00
Igor Katson
ab7d0f68d9
Re-tag 4.0.0-beta.2 as apparently beta.1 was already tagged and released before 2023-12-01 11:59:36 +00:00
Igor Katson
af1facb171
Upgrade some dependencies and librqbit to 4.0.0-beta.1 2023-12-01 11:56:07 +00:00
Igor Katson
143bdea498
Fixing cargo publish 2023-12-01 11:50:43 +00:00
Igor Katson
23f5e3dc06
Fixing cargo publish 2023-12-01 11:48:07 +00:00
Igor Katson
64d22577d0
Merge pull request #38 from ikatson/refactoring-2023-12
Refactoring DHT
2023-12-01 11:39:12 +00:00
Igor Katson
4078eacf1d
Better error display in UI 2023-12-01 11:28:35 +00:00
Igor Katson
414b2c5f65
Print all running tasks periodically 2023-12-01 10:48:16 +00:00
Igor Katson
d1ad2c7d51
Fix a bug in initial_addrs URL parsing 2023-12-01 10:28:20 +00:00
Igor Katson
5ee9390bb1
Initial peers now passed to read_metainfo_from_peer_receiver 2023-12-01 09:44:51 +00:00
Igor Katson
f337ab1837
Pass back peers from Web UI when adding a magnet in attempt to speed it up 2023-12-01 09:30:23 +00:00
Igor Katson
21b1bd9e7d
A bit finer grained timeout interval in get_peers loop 2023-12-01 08:53:05 +00:00
Igor Katson
b3ab2c4d4c
Code to serialize peer store 2023-11-30 22:07:24 +00:00
Igor Katson
261ad3cc7c
1/n Added peer store 2023-11-30 20:42:05 +00:00
Igor Katson
80b153dbca
Print timeout message better 2023-11-30 18:25:38 +00:00
Igor Katson
18c845d6f0
Shorten debug for messages 2023-11-30 17:34:39 +00:00
Igor Katson
32a220f17c
Shorten debug for messages 2023-11-30 17:28:32 +00:00
Igor Katson
558aa3f246
Fix accidentally removed line - sending nodes on getPeersRequest 2023-11-30 16:52:03 +00:00
Igor Katson
42b1fb09c2
Merging session and user-provided peer timeouts 2023-11-30 16:26:57 +00:00
Igor Katson
a0feee27a6
Add a button to increase peer timeouts 2023-11-30 16:05:48 +00:00
Igor Katson
dc50de31dc
Restore DHT lib timeouts 2023-11-30 15:38:22 +00:00
Igor Katson
4af26ae246
Add max size to routing table 2023-11-30 15:35:08 +00:00
Igor Katson
16a4d22b6b
Fix a bug in get_bit() 2023-11-30 14:49:39 +00:00
Igor Katson
fee2690aae
With pinger its not entirely bad now, but still pretty horrible 2023-11-30 13:58:33 +00:00
Igor Katson
8d58a9f419
Doesnt refresh properly 2023-11-30 13:30:11 +00:00
Igor Katson
ebd0d818eb
Fix a bug in pinger, attribute log messages better 2023-11-30 11:57:03 +00:00
Igor Katson
c8967f2469
Bucket refresher. Broken 2023-11-30 11:38:15 +00:00
Igor Katson
658bbdb652
Add "last_refreshed" property on buckets 2023-11-30 09:59:13 +00:00
Igor Katson
f04277cc11
Make questionable node pings better 2023-11-30 09:38:35 +00:00
Igor Katson
210a3d5d3e
Use concrete type for DHT peers 2023-11-30 08:06:55 +00:00
Igor Katson
6243c5f02f
Restoring sessions from DB preserving IDs 2023-11-30 07:48:10 +00:00
Igor Katson
52883769e1
Session persistence now saving full torrent contents 2023-11-30 00:48:57 +00:00
Igor Katson
7d02d79ff5
Using response freshness in ordering 2023-11-29 23:57:11 +00:00
Igor Katson
a5ae2988b8
Downgraded a bunch of messages from debug to trace 2023-11-29 23:45:08 +00:00
Igor Katson
aa2a41a53c
Fixing up bugs, refactored DHT works alright now 2023-11-29 23:12:20 +00:00
Igor Katson
69b9918e4f
Going so far again... 2023-11-29 19:40:31 +00:00
Igor Katson
ea8cd02a7a
peer handling now works well 2023-11-29 18:22:00 +00:00
Igor Katson
672dcce484
rewrote it, still crappy but easier to understand 2023-11-29 16:39:09 +00:00
Igor Katson
826d1b8f1d
wtf... its getting worse. Lets see if we can simplify it a lot 2023-11-29 14:48:22 +00:00
Igor Katson
6518dc6eff
Saving before slight refactor 2023-11-29 13:48:27 +00:00
Igor Katson
dc3da89b59
DHT routing table tracking errors better 2023-11-29 10:40:29 +00:00
Igor Katson
74c11415f1
Return back rate limiting and not re-querying same nodes 2023-11-28 19:20:50 +00:00
Igor Katson
3b3af34152
Wow, this isnt bad at all, now DHT makes much less queries but restarts 2023-11-28 18:28:59 +00:00
Igor Katson
242f064328
Get back old behavior 2023-11-28 16:14:49 +00:00
Igor Katson
81428e30a2
Nothing 2023-11-28 15:55:13 +00:00
Igor Katson
93740ec84b
Created more tasks but it impacts perf and memory badly 2023-11-28 15:35:27 +00:00