Commit graph

184 commits

Author SHA1 Message Date
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
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
e7305114ad aquatic_http: glommio: panic if request receiver channel is closed 2021-10-27 12:22:01 +02:00
Joakim Frostegård
b7d61cecd9 aquatic_http: glommio: implement scrape requests 2021-10-27 12:13:54 +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
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
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
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
38617c70f4 Refactor AccessList; update it periodically in aquatic_udp glommio 2021-10-19 22:52:31 +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
48d49c9a1a aquatic_http: use cleaner request filtering by access list 2021-10-16 17:36:56 +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
2e68155bf4 aquatic_http: use Cow<_> for FailureResponse.failure_reason 2021-10-16 00:19:58 +02:00
Joakim Frostegård
ddb1f394a1 aquatic_http: move torrent cleaning code to TorrentMaps impl 2021-10-15 23:13:26 +02:00
Joakim Frostegård
10fe014c03 aquatic_http access list: use in torrent cleaning, do periodic updates 2021-10-15 23:03:24 +02:00
Joakim Frostegård
7fec41099b aquatic_http: check access list in announce request handler 2021-10-15 22:49:07 +02:00
Joakim Frostegård
4fa199a1e0 aquatic_http access list: add config, state field, initial load 2021-10-15 22:38:58 +02:00
Joakim Frostegård
d172fc4f8c Upgrade socket2 2021-08-15 23:32:59 +02:00
Joakim Frostegård
32541c5c15 Upgrade hashbrown 2021-08-15 22:29:09 +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
f9626ade57 Upgrade quickcheck to 1.0, adjust code, optimizing a slow test 2021-02-10 18:36:23 +01:00
Joakim Frostegård
e1260d14de Update rand to 0.8 and rand_distr to 0.4 2021-02-10 18:36:23 +01:00
Joakim Frostegård
bbc351bb59 Update privdrop to 0.5 2021-02-10 18:36:23 +01:00
Joakim Frostegård
ac6eefc30f Update crossbeam-channel to 0.5 2021-02-10 18:36:23 +01:00
Joakim Frostegård
fe11ed138a Use (patched) crates.io deps for crates, add some package metadata 2020-09-13 17:30:26 +02:00
Joakim Frostegård
66e9882f48 Update dependencies 2020-09-10 23:23:21 +02:00
Joakim Frostegård
8f72445b93 aquatic_http: fix debug log message for when TLS is established 2020-08-17 21:50:35 +02:00
Joakim Frostegård
4e0fc68548 aquatic http and ws: when cleaning torrents, update statistics 2020-08-16 23:24:44 +02:00
Joakim Frostegård
3d35bd9bd4 aquatic http and ws: raise default max peer and connection age
There was a problem with aquatic_http with clients announcing
less often than requested interval and getting purged, making
file transfers less reliable
2020-08-16 23:24:29 +02:00