Commit graph

442 commits

Author SHA1 Message Date
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
Igor Katson
91c99a272f
cargo fmt / clippy / fix 2023-11-28 11:35:28 +00:00
Igor Katson
7da46d0bbf
UDP send errors now kill requests right away 2023-11-28 11:32:34 +00:00
Igor Katson
e9b7103c26
silence DHT timeout error 2023-11-28 10:55:43 +00:00
Igor Katson
336bf751e3
DHT: better tracking requests/responses 2023-11-28 10:53:22 +00:00
Igor Katson
0478577a72
Nothing 2023-11-28 09:23:05 +00:00
Igor Katson
e012cd94a3
Remove timed out DHT requests 2023-11-28 08:56:27 +00:00
Igor Katson
c7cf5eedef
Remove the giant lock from dht 2023-11-28 08:03:12 +00:00
Igor Katson
eaf5021908
Next id -> AtomicU16 2023-11-28 07:40:27 +00:00
Igor Katson
1a6eb05ca1
Optional file logging 2023-11-27 23:19:24 +00:00
Igor Katson
692fef1394
Poor mans algo to resend requests 2023-11-27 22:05:46 +00:00
Igor Katson
ab5ae527aa
A bunch of initial changes to DHT 2023-11-27 18:53:20 +00:00
Igor Katson
7d46318e98
Fix github release script for armv6/7 2023-11-27 17:38:01 +00:00
Igor Katson
ad284c921c
Fix github release script for armv6/7 2023-11-27 17:22:59 +00:00
Igor Katson
f6ae927d5c
Add a logo as favicon 2023-11-27 17:21:45 +00:00
Igor Katson
1a5716a734
Update README 2023-11-27 09:41:54 +00:00
Igor Katson
25189ce161
Update readme 2023-11-27 09:38:33 +00:00
Igor Katson
f1e91d41cc
Merge pull request #37 from ikatson/refactor-split-up-torrent-state
A ton of new features + huge refactor
2023-11-27 09:31:51 +00:00
Igor Katson
2e2492581e
Update web UI version 2023-11-27 09:29:28 +00:00