Joakim Frostegård
24897dd73d
Improve documentation around IPv4/IPv6 address binding
2025-01-12 23:09:05 +01:00
Joakim Frostegård
34902048d9
Update async-tungstenite version
2025-01-12 22:35:07 +01:00
Joakim Frostegård
19448fbc84
Upgrade metrics dependencies
2025-01-12 22:15:27 +01:00
Joakim Frostegård
ea06ffd513
Update to hashbrown v0.15
2025-01-12 22:10:29 +01:00
Alexander Lopatin
751ef7966e
Fix #211 : memlock 73728 is the smallest limit that works for Alpine Linux 3.20.3 x86_64 build ( #212 )
2024-10-20 14:42:50 +02:00
Joakim Frostegård
67210fbb10
Fix some README typos
2024-05-03 22:51:19 +02:00
Joakim Frostegård
7795a1a532
Make mimalloc optional for udp and http
2024-05-03 22:38:25 +02:00
Joakim Frostegård
b1848c361d
Update glommio to v0.9
2024-04-25 22:50:41 +02:00
Joakim Frostegård
ec95f7e73c
Fix a ws Cargo.toml comment
2024-04-25 22:39:21 +02:00
Joakim Frostegård
efa10015e5
Upgrade async-tungstenite to v0.25
2024-04-25 22:38:41 +02:00
Joakim Frostegård
69294ea201
Update rustls to v0.23
2024-04-25 22:36:47 +02:00
Joakim Frostegård
6384e3401b
Move architectural overview image to ws and http crate READMEs
2024-02-10 21:24:14 +01:00
Joakim Frostegård
e705c03981
Explicity use IndexMap::swap_remove to silence warnings
2024-02-06 18:34:17 +01:00
Joakim Frostegård
944ae93b93
ws: fix thread name issue
2024-02-04 00:27:44 +01:00
Joakim Frostegård
40e33d8af1
fix prometheus timeout mask metrics
2024-02-04 00:03:01 +01:00
Joakim Frostegård
c4f645e03e
Fix ws and http build errors, fix ws thread name
2024-02-03 23:53:13 +01:00
Joakim Frostegård
1acf44c001
ws and http: remove CPU pinning config structs, update CHANGELOG
2024-02-03 23:06:02 +01:00
Joakim Frostegård
93f8995a72
ws: quit if any worker quits
2024-02-03 22:56:08 +01:00
Joakim Frostegård
964636db7c
http and ws: fix build errors with --no-default-features
2024-01-27 18:21:44 +01:00
Joakim Frostegård
c5e09e8106
README files: mention installing build-essential
2024-01-27 18:12:21 +01:00
Joakim Frostegård
7d4ba6940b
Improve README files
2024-01-27 17:46:49 +01:00
Joakim Frostegård
e4422cf3ff
ws: swarm worker: more readability refactors
2024-01-25 23:40:19 +01:00
Joakim Frostegård
f050467c2a
ws: further refactor of swarm worker to improve readability
2024-01-25 23:24:10 +01:00
Joakim Frostegård
e6e663761c
ws: refactor swarm worker storage code for improved readability
2024-01-25 19:35:45 +01:00
Joakim Frostegård
238cce9b16
Move common/extract_response_peers to ws since it is only user
2024-01-25 19:05:27 +01:00
Joakim Frostegård
c32fa7cc2b
Fix ws clippy warnings
2024-01-20 10:27:15 +01:00
Joakim Frostegård
5401eaf85f
Run cargo clippy --fix and cargo fmt
2024-01-20 09:56:14 +01:00
Joakim Frostegård
0dae7fd533
ws protocol: remove glob exports; adjust dependent crates
2024-01-08 20:16:46 +01:00
Joakim Frostegård
d4c95d89c0
ws: swarm: remove peer ValidUntil update task, just create when needed
2024-01-08 18:54:11 +01:00
Joakim Frostegård
36954e5f48
ws: SwarmControlMessage::ConnectionClosed: use Vec for info hashes
2024-01-08 18:51:39 +01:00
Joakim Frostegård
4c831643b1
ws: remove ineffective backpressure implementation
2024-01-08 18:41:24 +01:00
Joakim Frostegård
188da135ab
ws: add Connection backpressure channel instead of spawning tasks
...
Seems to fix memory leak issue
2024-01-07 11:27:03 +01:00
Joakim Frostegård
6e7d36cffc
ws: add mimalloc feature to make it easier to disable it
2024-01-07 10:41:11 +01:00
Joakim Frostegård
3042539101
update ws dependencies as well as http rustls dependency
2024-01-07 10:40:50 +01:00
Joakim Frostegård
071f088d8b
ws: socket worker: wait for interal close message in priority queue
2024-01-06 00:13:18 +01:00
Joakim Frostegård
579fcb2140
ws: don't yield unnecessarily in run_in_message_loop, improve logging
2024-01-05 23:13:31 +01:00
Joakim Frostegård
7b6bb12c9e
Update README
2023-12-27 19:08:00 +01:00
Joakim Frostegård
7b2a7a4f46
ws: improve socket worker connection code
2023-11-17 00:15:41 +01:00
Joakim Frostegård
fe5ccf6646
ws: refactor, bug fixes, improvements ( #155 )
...
- split swarm worker into two modules
- split socket worker into two modules
- keep track of which offers peers have sent and only allow matching
answers
- always clean up after closing connection
- use channel for telling connections to close
- move some logic into new ConnectionRunner struct
- use slotmap for connection reference storage
- fix double counting of error responses
- actually close connections that take too long to send responses to
- remove announced_info_hashes entry on AnnounceEvent::Stopped
2023-11-09 18:06:21 +01:00
Joakim Frostegård
577161e540
ws protocol: simplify code for AnnounceAction and ScrapeAction
2023-10-30 19:49:45 +01:00
Joakim Frostegård
0789f7ec3b
improve ws protocol struct naming and documentation
2023-10-30 19:13:46 +01:00
Joakim Frostegård
0d83bd51ee
ws: skip updating tls cert if file data same as currently loaded
2023-10-24 20:42:18 +02:00
Joakim Frostegård
78645fe658
ws: auto-close connections after grace period when updating tls config
2023-10-24 20:23:30 +02:00
Joakim Frostegård
99647a323a
http: reload tls config on SIGUSR1
2023-10-24 18:44:49 +02:00
Joakim Frostegård
6a23ef9103
ws: reload tls config on SIGUSR1
2023-10-24 18:36:56 +02:00
Joakim Frostegård
c5c995bb80
Split README into separate files ( #150 )
...
* Create a separate udp README file
* Split README into separate files for all three implementations
* Minor README fixes
2023-10-19 19:59:11 +02:00
Joakim Frostegård
9b032f7e24
Move all crates to new crates dir
2023-10-18 23:53:41 +02:00