Commit graph

947 commits

Author SHA1 Message Date
Joakim Frostegård
30fa96a7f4 aquatic_ws: use PrivilegeConfig from aquatic_common 2021-10-27 20:50:55 +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
ead7650d41 aquatic_udp: glommio: fix access list update bug 2021-10-27 20:37:32 +02:00
Joakim Frostegård
af5816e2ab aquatic_http: glommio: periodically update access lists 2021-10-27 20:36:38 +02:00
Joakim Frostegård
35b8a1820d Rename CoreAffinityConfig to CpuPinningConfig, rename fields 2021-10-27 20:21:11 +02:00
Joakim Frostegård
d659117ae5 Move CoreAffinityConfig to aquatic_common, use in glommio http 2021-10-27 20:19:02 +02:00
Joakim Frostegård
8747f8de4e aquatic_udp: glommio: limit request size, use array as buffer 2021-10-27 14:28:15 +02:00
Joakim Frostegård
dd968821e4 aquatic_udp: glommio: refactor networking for less state in Connection 2021-10-27 14:07:49 +02:00
Joakim Frostegård
6404be8ef8 aquatic_http: glommio: add access list, refactor networking slightly 2021-10-27 13:55:17 +02:00
Joakim Frostegård
1a4e5750a3 aquatic_http: glommio: periodically remove closed connections 2021-10-27 13:19:02 +02:00
Joakim Frostegård
00e77e8655 Update TODO 2021-10-27 12:35:03 +02:00
Joakim Frostegård
9bea7c0898 aquatic_http: glommio: deallocate request buffer after successful parse 2021-10-27 12:30:44 +02:00
Joakim Frostegård
c9233726ab Run cargo fmt 2021-10-27 12:24:27 +02:00
Joakim Frostegård
92fc427665 Update TODO 2021-10-27 12:23:56 +02:00
Joakim Frostegård
e7305114ad aquatic_http: glommio: panic if request receiver channel is closed 2021-10-27 12:22:01 +02:00
Joakim Frostegård
c02f8f228e aquatic_http_protocol: fail scrape parse with no info hashes 2021-10-27 12:14:14 +02:00
Joakim Frostegård
b7d61cecd9 aquatic_http: glommio: implement scrape requests 2021-10-27 12:13:54 +02:00
Joakim Frostegård
9693119624 Update TODO 2021-10-27 02:02:16 +02:00
Joakim Frostegård
3e912bb379 aquatic_http: glommio: fix channel join deadlock in network.rs 2021-10-27 01:52:49 +02:00
Joakim Frostegård
bbf781ddd6 Update TODO 2021-10-27 01:44:17 +02:00
Joakim Frostegård
d03bf48433 aquatic_http glommio: various fixes to network code 2021-10-27 01:03:31 +02:00
Joakim Frostegård
17412868b9 Run cargo fmt 2021-10-27 00:47:46 +02:00
Joakim Frostegård
8f0dabc706 aquatic_http: work on glommio request handlers 2021-10-27 00:45:30 +02:00
Joakim Frostegård
4fc1509a79 aquatic_http: improve mio and common request handling code 2021-10-26 23:40:11 +02:00
Joakim Frostegård
ea2366c808 aquatic_http: simplify mio request handler 2021-10-26 23:38:15 +02:00
Joakim Frostegård
ce8d1ba0d6 aquatic_http: move much logic formerly in mio module into common mod 2021-10-26 23:33:08 +02:00
Joakim Frostegård
8a66b5ce69 aquatic_udp: glommio: return Request in read_tls to reduce state 2021-10-26 22:21:38 +02:00
Joakim Frostegård
636a434ca6 aquatic_http: glommio: unless keep_alive set, close after send 2021-10-26 21:59:40 +02:00
Joakim Frostegård
eebfa69c70 aquatic_http: work on glommio network implementation 2021-10-26 21:54:41 +02:00
Joakim Frostegård
96593c97fc WIP: aquatic_http glommio work 2021-10-26 21:12:34 +02:00
Joakim Frostegård
79bbf957c0 add scripts/gen-tls.sh for generating snakeoil tls cert & key 2021-10-26 19:39:05 +02:00
Joakim Frostegård
7fd2d4c42e aquatic_http glommio: modify tls config and file parsing 2021-10-26 19:38:37 +02:00
Joakim Frostegård
02735ba2ff aquatic_http: glommio: actually start socket workers 2021-10-26 19:09:50 +02:00
Joakim Frostegård
614dea755b README: mention that release mode should be used for glommio build 2021-10-26 19:05:00 +02:00
Joakim Frostegård
03b8f3e5c5 WIP: aquatic_udp glommio 2021-10-26 18:45:09 +02:00
Joakim Frostegård
dcb03f42e7 WIP: aquatic http glommio 2021-10-26 18:21:20 +02:00
Joakim Frostegård
ef10c4f366 WIP: aquatic http glommio 2021-10-26 17:29:21 +02:00
Joakim Frostegård
34bc4046b7 WIP: aquatic_http glommio impl 2021-10-26 16:26:37 +02:00
Joakim Frostegård
ad7e464788 aquatic_http: split into mio and glommio modules 2021-10-26 15:26:06 +02:00
Joakim Frostegård
40eff52f1c README: aquatic_udp glommio version requires Linux 5.8+, not 5.1+ 2021-10-25 00:57:32 +02:00
Joakim Frostegård
d948843191
Merge pull request #12 from greatest-ape/glommio-fixes
aquatic_udp glommio implementation improvements
2021-10-25 00:27:01 +02:00
Joakim Frostegård
a7b29c8deb README: mention aquatic_udp core affinity settings 2021-10-23 22:32:59 +02:00
Joakim Frostegård
b530ca20cf Update TODO 2021-10-23 22:29:46 +02:00
Joakim Frostegård
a554240ec8 Update README 2021-10-23 22:28:11 +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
f69e3a00c7 aquatic_udp: glommio: cleanup 2021-10-23 20:28:36 +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
d0aa87f99e github actions: rewrite file test action to fix ulimit; add timeouts 2021-10-23 20:13:03 +02:00
Joakim Frostegård
08488f50cd Update TODO 2021-10-23 16:34:41 +02:00
Joakim Frostegård
821608ab50 aquatic_udp: glommio: return scrape stats in correct order 2021-10-23 16:18:47 +02:00