aquatic/crates/ws_protocol/src
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
..
incoming improve ws protocol struct naming and documentation 2023-10-30 19:13:46 +01:00
outgoing improve ws protocol struct naming and documentation 2023-10-30 19:13:46 +01:00
common.rs ws: refactor, bug fixes, improvements (#155) 2023-11-09 18:06:21 +01:00
lib.rs ws protocol: simplify code for AnnounceAction and ScrapeAction 2023-10-30 19:49:45 +01:00