Joakim Frostegård
|
aa3253fcd6
|
udp: use idiomatic folder structure (lib.rs + main.rs in src)
|
2021-11-27 18:17:25 +01:00 |
|
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
|
59e95894b9
|
udp: statistics: show number of torrents and access list len
|
2021-11-19 12:04:16 +01:00 |
|
Joakim Frostegård
|
138ae710ef
|
udp: remove io_uring version, it is slower than mio version
|
2021-11-18 22:42:37 +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
|
b617ff9d09
|
udp: shard request workers by info hash
|
2021-11-18 22:42:36 +01:00 |
|
Joakim Frostegård
|
4641dd29f2
|
udp: remove glommio implementation
|
2021-11-18 22:42:36 +01:00 |
|
Joakim Frostegård
|
1e9376302d
|
udp: fix some config feature issues
|
2021-11-18 22:42:36 +01:00 |
|
Joakim Frostegård
|
18635bf26c
|
udp: add io-uring implementation
|
2021-11-18 22:42:36 +01:00 |
|
Joakim Frostegård
|
130377b8f4
|
aquatic_http: remove mio implementation
|
2021-10-28 01:48:32 +02:00 |
|
Joakim Frostegård
|
49ed4371e7
|
Run cargo fmt, clean up imports
|
2021-10-28 01:23:43 +02:00 |
|
Joakim Frostegård
|
d6d5cc78b7
|
udp, http: move privilege drop code into aquatic_common
|
2021-10-27 20:49:15 +02:00 |
|
Joakim Frostegård
|
13d0224321
|
aquatic_udp: use features "with-glommio" and (default) "with-mio"
|
2021-10-23 22:27:42 +02:00 |
|
Joakim Frostegård
|
5729f337ad
|
aquatic_udp: rename glommio feature to "io_uring", remove from default
|
2021-10-23 20:25:42 +02:00 |
|
Joakim Frostegård
|
0e58347ac4
|
aquatic_udp: move privdrop code to crate root, use in glommio impl
|
2021-10-23 15:18:05 +02:00 |
|
Joakim Frostegård
|
b10f7b89e7
|
aquatic_udp: move code only use in mio impl out of crate::common
|
2021-10-21 15:41:50 +02:00 |
|
Joakim Frostegård
|
81b7777a4a
|
aquatic_udp: feature-gate glommio version
|
2021-10-21 15:26:16 +02:00 |
|
Joakim Frostegård
|
047d138b2b
|
aquatic_udp glommio: detach tasks, await them later; add debug logging
|
2021-10-20 02:06:51 +02:00 |
|
Joakim Frostegård
|
38617c70f4
|
Refactor AccessList; update it periodically in aquatic_udp glommio
|
2021-10-19 22:52:31 +02: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
|
f2b157a149
|
aquatic_udp: split some code into mio and glommio versions
|
2021-10-18 22:51:53 +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
|
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
|
b8b9a9839a
|
Run rustfmt
|
2021-10-15 22:09:45 +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
|
9893341622
|
aquatic_udp: update access list at startup, exit on failure
|
2021-10-15 21:49:01 +02:00 |
|
Joakim Frostegård
|
cedf60155e
|
aquatic_udp: add privdrop failsafe timeout
|
2021-10-15 02:59:13 +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
|
7c8729f256
|
aquatic_udp: replace some expect calls with anyhow error returns
|
2020-08-13 04:58:12 +02:00 |
|
Joakim Frostegård
|
6b3d9e00d8
|
aquatic_udp: drop unused channel senders & receivers
|
2020-08-13 02:08:19 +02:00 |
|
Joakim Frostegård
|
9efc1fc66a
|
add aquatic crate with master executable, refactor cli_helpers
|
2020-08-13 00:13:01 +02:00 |
|
Joakim Frostegård
|
561cc3db55
|
fix more clippy warnings
|
2020-08-02 00:36:56 +02:00 |
|
Joakim Frostegård
|
526faa9aab
|
cli_helpers: use anyhow in app fn; aquatic_ws: reorganize error handling
|
2020-05-23 14:05:50 +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 |
|