Commit graph

20 commits

Author SHA1 Message Date
Joakim Frostegård
b1848c361d Update glommio to v0.9 2024-04-25 22:50:41 +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
9f000abb52 Add separate READMEs for load testers 2024-03-16 10:50:52 +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
437f2def7d aquatic_common: feature-gate cpu pinning, remove hwloc feature 2024-02-03 23:16:45 +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
27ecccd984 ws load test: store global info hashes as Arc<[InfoHash]> 2024-01-08 20:07:15 +01:00
Joakim Frostegård
34167371b0 ws load test: refactor network module 2024-01-08 20:02:30 +01:00
Joakim Frostegård
64926ba46a ws load test: clean up, slight code refactor 2024-01-08 19:37:01 +01:00
Joakim Frostegård
2279e8390e ws load test: send answers regarding correct info_hash 2024-01-08 19:09:17 +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
577161e540 ws protocol: simplify code for AnnounceAction and ScrapeAction 2023-10-30 19:49:45 +01:00
Joakim Frostegård
d94936a50b ws: require offer/answer sdp field to be String, fix related code 2023-10-30 19:37:25 +01:00
Joakim Frostegård
c37bf89650 ws: include "type" field in RtcOffer and RtcAnswer 2023-10-30 19:34:24 +01:00
Joakim Frostegård
0789f7ec3b improve ws protocol struct naming and documentation 2023-10-30 19:13:46 +01:00
Joakim Frostegård
9b032f7e24 Move all crates to new crates dir 2023-10-18 23:53:41 +02:00