Commit graph

29 commits

Author SHA1 Message Date
Joakim Frostegård
34f263f6b9 udp: new file structure: each worker types is submod of workers mod 2021-11-21 19:39:44 +01:00
Joakim Frostegård
a1243c59d6 udp: avoid Ordering::SeqCst for atomic operations 2021-11-19 12:30:05 +01:00
Joakim Frostegård
2c336793b1 udp: statistics: improve atomic usize vec sum code 2021-11-19 12:22:11 +01:00
Joakim Frostegård
c78716153b udp: statistics: show number of peers 2021-11-19 12:17:39 +01:00
Joakim Frostegård
59e95894b9 udp: statistics: show number of torrents and access list len 2021-11-19 12:04:16 +01:00
Joakim Frostegård
99632d4be5 udp: implement torrent map cleaning for new, sharded torrent state 2021-11-18 22:42:37 +01:00
Joakim Frostegård
4641dd29f2 udp: remove glommio implementation 2021-11-18 22:42:36 +01:00
Joakim Frostegård
3aebdfda8a aquatic_udp: more work on splitting mio and glommio logic 2021-10-19 01:40:06 +02:00
Joakim Frostegård
9aa783fbb1 aquatic_udp: stop counting readable events for statistics
It is not very informative and might be expensive
2021-10-18 11:15:59 +02:00
Joakim Frostegård
90d60108c1 aquatic_udp: innetwork, use request_sender.try_send; run rustfmt 2021-10-18 11:10:56 +02:00
Joakim Frostegård
6b8616acf9 aquatic_udp: pass less of state to tasks::update_access_list 2021-10-18 02:46:58 +02:00
Joakim Frostegård
7616df9686 aquatic_udp: validate requests in socket workers
Also, don't send error responses for unconnected requests
2021-10-18 01:14:32 +02:00
Joakim Frostegård
f3487d4749 Rename AccessList variants 2021-10-17 18:19:31 +02:00
Joakim Frostegård
3678e86654 Run rustfmt 2021-10-16 17:49:00 +02:00
Joakim Frostegård
7ccd5fcbf7 access lists: filter requests in socket workers instead 2021-10-16 17:26:40 +02:00
Joakim Frostegård
ff49022efe aquatic_udp: split handlers.rs into submodules 2021-10-15 23:48:54 +02:00
Joakim Frostegård
f65bcd7f56 aquatic_udp: simplify access list handling in tasks, request workers 2021-10-15 23:35:05 +02:00
Joakim Frostegård
490c0b037d AccessListMode: rename Allow to Require and Deny to Forbid 2021-10-15 21:59:46 +02:00
Joakim Frostegård
f0846e3128 aquatic_common: rename AccessListType to AccessListMode 2021-10-15 21:55:01 +02:00
Joakim Frostegård
60d183003d aquatic_common: move access list code to own file 2021-10-15 21:53:42 +02:00
Joakim Frostegård
3bb6c1994c aquatic_udp: move TorrentMap cleaning logic to TorrentMap impl 2021-10-15 02:53:33 +02:00
Joakim Frostegård
6cfa220097 access list: log when update fails; run cargo fmt 2021-10-15 02:35:13 +02:00
Joakim Frostegård
b5a2b81bd7 aquatic_udp: simplify access list logic 2021-10-15 02:30:49 +02:00
Joakim Frostegård
8639f380f4 aquatic_udp: first access list implementation 2021-10-15 02:08:57 +02:00
Joakim Frostegård
d0e716f80b Run rustfmt, clean up aquatic_http_protocol/Cargo.toml 2021-08-15 22:26:11 +02:00
Joakim Frostegård
f4187f4368 aquatic_udp: use log crate instead of eprintln, add LogLevel to Config 2020-08-13 04:52:50 +02:00
Joakim Frostegård
c202d9ba41 udp, ws load test: fix clippy errors 2020-08-01 23:50:01 +02:00
Joakim Frostegård
a3a1d1606b WIP: udp: add ipv6 support
Returning IPv6 peers doesn't really work with UDP. It is not supported by
https://libtorrent.org/udp_tracker_protocol.html. There is a suggestion in
https://web.archive.org/web/20170503181830/http://opentracker.blog.h3q.com/2007/12/28/the-ipv6-situation/
of using action number 4 and returning IPv6 octets just like for IPv4
addresses. Clients seem not to support it very well, but due to a lack of
alternative solutions, it is implemented here
2020-07-31 05:37:58 +02:00
Joakim Frostegård
1b8d74e26d rename aquatic to aquatic_udp, same for bench and load test crates 2020-05-11 16:55:46 +02:00
Renamed from aquatic/src/lib/tasks.rs (Browse further)