Commit graph

19 commits

Author SHA1 Message Date
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
264a12230e
http README: remove text about only running over TLS 2024-01-27 13:31:07 +01:00
Joakim Frostegård
352194e0bd http: avoid heap allocation for torrents with few peers; refactor 2024-01-27 10:58:03 +01:00
Joakim Frostegård
c7f7f010ca http: upgrade metrics crate to 0.22 2024-01-25 00:03:05 +01:00
Joakim Frostegård
fe6a7ef8b5 http: update crate description 2024-01-24 23:37:35 +01:00
Joakim Frostegård
73eeb22f66 http: extract response peers while announcing peer removed
This improves performance by avoiding lots of comparisons
2024-01-24 23:33:15 +01:00
Joakim Frostegård
63ae98f67c http: index peer map by IP and port instead of IP and peer id 2024-01-24 22:54:13 +01:00
Joakim Frostegård
746aa47cce http: silence clippy warnings 2024-01-20 10:29:13 +01:00
Joakim Frostegård
5401eaf85f Run cargo clippy --fix and cargo fmt 2024-01-20 09:56:14 +01:00
Joakim Frostegård
22e151d0f0 http: start awaiting conn close message before tls setup 2024-01-20 09:43:55 +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
7cfcf5ea55 http: split swarm worker module into submodules 2023-11-18 00:29:15 +01:00
Joakim Frostegård
923b3637e8 http: allow disabling TLS, allow reverse proxies, general fixes 2023-11-17 18:16:29 +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
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