Commit graph

79 commits

Author SHA1 Message Date
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
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
d8fdb94305
DHT instrumentation 2023-11-25 15:15:16 +00:00
Igor Katson
1bea1f9235
Better API for stats printing 2023-11-25 10:11:40 +00:00
Igor Katson
0c4844f534
1/n Add pause/start actions 2023-11-24 14:19:39 +00:00
Igor Katson
d4e29171b9
Small js (webui) cleanups 2023-11-23 00:42:10 +00:00
Igor Katson
56311fb4df
DHT Rate limiting 2023-11-22 21:56:00 +00:00
Igor Katson
b751b98a60
Update versions to 3.0.0 as theres a lot of changes internally 2023-11-20 10:34:43 +00:00
Igor Katson
2ebbc0a828
Add examples 2023-11-19 22:48:19 +00:00
Igor Katson
48a14823fa
Changed log to tracing 2023-11-19 13:05:42 +00:00
Igor Katson
62ed868208
Update dependencies 2023-11-16 07:37:40 +00:00
Igor Katson
8911a71c57
Preparing DHT 2023-11-15 14:22:10 +00:00
Igor Katson
b1369609c1
Add readmes everywhere 2023-11-15 14:01:41 +00:00
Igor Katson
22eb0fca57
Prepare dht for publishing 2023-11-15 13:56:25 +00:00
Igor Katson
3f519ff2d2
Prepare librqbit-core for publishing 2023-11-15 13:53:10 +00:00
Igor Katson
7d29ee28e6
Prepare sha1w and bencode for publishing 2023-11-15 13:50:56 +00:00
Igor Katson
b1e2024760
Prepare clone-to-owned for publishing 2023-11-15 13:47:26 +00:00
Cyril Plisko
e06d2ae1a8 clippy::redundant_locals 2023-08-08 11:08:14 +03:00
Igor Katson
2a2a4da196
Buffered read/writes in dht persistence 2023-07-14 00:15:38 +01:00
Adrien Delorme
aa4914eda4
create_request: avoid u16 overflow 2023-04-23 17:55:52 +02:00
Igor Katson
6968a4e449
Cargo clippy: fix the majority of errors 2022-12-08 20:20:23 +00:00
Igor Katson
818e300935
DHT: use rwlock, not mutex 2022-12-07 22:01:29 +00:00
Igor Katson
ae847ce99c
Upgrade deps 2022-12-04 13:12:23 +00:00
Igor Katson
b2fb4729c7 Fix or disable all failing tests. Fix all cargo clippy warnings 2021-10-18 16:38:43 +01:00
Igor Katson
d51acba9be Fix a bug in DHT that caused panics sometimes 2021-10-16 00:14:29 +01:00
Igor Katson
1bcc16c327 Another attempt to make it possible to build without openssl.
You'll need to cd into crates/rqbit to build with selective features.
2021-09-30 09:00:40 +01:00
Igor Katson
a6a785640f Better error message when listening on DHT 2021-09-29 19:15:04 +01:00
Igor Katson
5fd218d456 Nothing 2021-07-18 16:56:47 +01:00
Igor Katson
49cb6f9d65 Nothing much 2021-07-18 15:53:23 +01:00
Igor Katson
1300faa0b4 Persistent DHT 2021-07-18 10:53:33 +01:00
Igor Katson
52f17a1717 Routing table serialize / optimzie 2021-07-17 14:45:18 +01:00
Igor Katson
24c38b1de1 Saving 2021-07-16 15:40:04 +01:00
Igor Katson
ff2f74594a Reimplement routing table as a vector 2021-07-16 14:49:36 +01:00