Commit graph

986 commits

Author SHA1 Message Date
Joakim Frostegård
f5b93fbd3e aquatic_udp: mio: fix bug where connections were cleaned all the time 2021-11-03 01:05:49 +01:00
Joakim Frostegård
f86b8fb606 Update TODO 2021-11-03 00:13:53 +01:00
Joakim Frostegård
8871d0eec8 http and ws: rename cleaning.interval to torrent_cleaning_interval 2021-11-03 00:11:24 +01:00
Joakim Frostegård
afe3e2465f aquatic_udp: split cleaning interval for connections and torrents 2021-11-03 00:07:52 +01:00
Joakim Frostegård
5f10e5e7f4 aquatic_udp: when cleaning peer maps, run shrink_to_fit 2021-11-02 23:59:50 +01:00
Joakim Frostegård
ed5e6322ac Update TODO 2021-11-02 23:55:04 +01:00
Joakim Frostegård
18e6c5398d README: elaborate on access list; replace cross-platform with unix-like 2021-11-02 23:41:55 +01:00
Joakim Frostegård
fa3b6bb259 Move fn update_access_list to aquatic_common 2021-11-02 23:33:47 +01:00
Joakim Frostegård
446fd0b1f4 aquatic_ws: use signals for access list updates 2021-11-02 23:29:04 +01:00
Joakim Frostegård
9a1993d72e aquatic_http: use signals for reloading access list 2021-11-02 23:16:18 +01:00
Joakim Frostegård
992f4df635 aquatic_common: add access list test 2021-11-02 22:54:18 +01:00
Joakim Frostegård
dce256a987 aquatic_udp: use access list cache when cleaning torrents 2021-11-02 22:31:36 +01:00
Joakim Frostegård
fdaafae4b7 aquatic_udp: glommio: use signals for access list update 2021-11-02 22:23:47 +01:00
Joakim Frostegård
a4d131359c
Merge pull request #19 from greatest-ape/access-list-signals
aquatic_udp: mio: update access list on SIGUSR1; update TODO and README
2021-11-02 21:54:57 +01:00
Joakim Frostegård
f7b7005e9a Update README 2021-11-02 21:18:12 +01:00
Joakim Frostegård
c265b6ae7f Update TODO 2021-11-02 21:09:32 +01:00
Joakim Frostegård
9b75b50802 aquatic_udp: mio: access list: use SIGUSR1, improve errors 2021-11-02 21:06:57 +01:00
Joakim Frostegård
78d29770f3 aquatic_ws, aquatic_ws_load_test: cargo fmt 2021-11-02 20:33:14 +01:00
Joakim Frostegård
d922e5e680 aquatic_udp: mio: update access list on SIGHUP instead of regularly 2021-11-02 20:33:08 +01:00
Joakim Frostegård
e332ac3052 TODO.md: update, including remove old entries 2021-11-02 17:23:40 +01:00
Joakim Frostegård
0d7119d121
Merge pull request #18 from greatest-ape/ws-glommio
Rewrite aquatic_ws with glommio
2021-11-02 17:03:37 +01:00
Joakim Frostegård
814cd0e6d0 aquatic_ws_load_test: remove unused config fields 2021-11-02 16:34:22 +01:00
Joakim Frostegård
b62639f0d2 Update TODO 2021-11-02 16:19:38 +01:00
Joakim Frostegård
eb304059cc README: mention enabling CPU extensions 2021-11-02 16:13:50 +01:00
Joakim Frostegård
34ba70aee8 Update TODO 2021-11-02 12:19:11 +01:00
Joakim Frostegård
98237c928f aquatic_ws: improve channel sending error handling 2021-11-02 12:06:53 +01:00
Joakim Frostegård
6140596d7e aquatic_ws: in request workers, await out message channel space 2021-11-02 11:58:10 +01:00
Joakim Frostegård
2f5e023fd7 aquatic_ws: use unbounded local out message channel 2021-11-02 11:57:43 +01:00
Joakim Frostegård
3e3acd5adf Update TODO 2021-11-02 11:57:12 +01:00
Joakim Frostegård
6d4e090061 ws load test: send offer answers 2021-11-02 11:51:51 +01:00
Joakim Frostegård
839f516dcb ws load test: rewrite with glommio and futures-rustls 2021-11-02 11:38:11 +01:00
Joakim Frostegård
eb2c294300 Improve README 2021-11-02 00:47:34 +01:00
Joakim Frostegård
93d4e43cfa README: mention need to raise memlock limits 2021-11-02 00:05:59 +01:00
Joakim Frostegård
dcf86d2df2 aquatic_ws: remove unused statistics code and histogram dependency 2021-11-01 23:57:44 +01:00
Joakim Frostegård
65851fa544 aquatic_ws: remove unused config keys 2021-11-01 23:47:30 +01:00
Joakim Frostegård
e00dcaa5c3 aquatic_ws: log ConnectionWriter::send_error_response errors 2021-11-01 22:19:00 +01:00
Joakim Frostegård
724932a498 aquatic_ws: pending scrape responses: avoid cloning stats 2021-11-01 22:17:31 +01:00
Joakim Frostegård
07e1b8230f aquatic_ws: reclaim pending_scrape_slab memory after entry removal 2021-11-01 21:41:05 +01:00
Joakim Frostegård
7ae7442284 aquatic_ws_protocol: clean up, run rustfmt 2021-11-01 21:36:07 +01:00
Joakim Frostegård
d2595e9746 aquatic_ws: split networking into reader and writer tasks 2021-11-01 21:34:34 +01:00
Joakim Frostegård
77c9ca03e8 aquatic_ws_protocol: attempt to parse ws message from binary as well 2021-11-01 19:42:52 +01:00
Joakim Frostegård
ca415af2b9 README: update aquatic_ws info to reflect new glommio implementation 2021-11-01 19:33:45 +01:00
Joakim Frostegård
2ea88c465c File transfer CI: use rustls-style tls config for aquatic_ws 2021-11-01 19:26:49 +01:00
Joakim Frostegård
23c2eff6f3 aquatic_ws: move comment on empty info hashes to network.rs 2021-11-01 19:25:14 +01:00
Joakim Frostegård
786642f486 aquatic_ws: in handlers, collect out messages in Vec for sending 2021-11-01 19:20:49 +01:00
Joakim Frostegård
24bfaf67c0 aquatic_ws: rewrite to use glommio 2021-11-01 19:08:00 +01:00
Joakim Frostegård
02c4111f4a
Merge pull request #17 from greatest-ape/http-futures-rustls
aquatic_http: use futures-rustls, improve networking code
2021-11-01 17:24:58 +01:00
Joakim Frostegård
83a4e318a4 aquatic_http_protocol: cargo fmt 2021-11-01 17:18:27 +01:00
Joakim Frostegård
2be604a2f2 http glommio: do debug-level log on Connection::run failure 2021-11-01 17:18:27 +01:00
Joakim Frostegård
76bd895159 http glommio: wait_for_response: panic if response sender is closed 2021-11-01 17:18:27 +01:00