Commit graph

12 commits

Author SHA1 Message Date
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
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
93f8995a72 ws: quit if any worker quits 2024-02-03 22:56:08 +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
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
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
Renamed from aquatic_ws/Cargo.toml (Browse further)