Commit graph

877 commits

Author SHA1 Message Date
Joakim Frostegård
143585792c aquatic_udp: mio: actually clean connections according to config 2021-10-31 19:43:38 +01:00
Joakim Frostegård
b2347ef3b0 Update TODO 2021-10-30 17:40:59 +02:00
Joakim Frostegård
3a598956a1
Merge pull request #14 from greatest-ape/bug-fixes
Bug fixes
2021-10-30 17:38:58 +02:00
Joakim Frostegård
df9aaccb46 aquatic_http_protocol: fix serde_quickcheck_identity_test
Since empty info hash Vec is no longer allowed, don't allow
it in test data and expect parsing to succeed.
2021-10-30 17:06:28 +02:00
Joakim Frostegård
bb75907c07 aquatic_udp: double MAX_PACKAGE_SIZE to allow for large responses 2021-10-30 17:03:07 +02:00
Joakim Frostegård
0107b3a77e aquatic_udp: add (failing) test for writing ipv6 announce responses 2021-10-30 16:51:59 +02:00
Joakim Frostegård
819821edf0 Update TODO 2021-10-29 15:11:01 +02:00
Joakim Frostegård
ca644ba2df
Merge pull request #13 from greatest-ape/http-glommio
aquatic_http: replace mio implementation with new glommio implementation
2021-10-29 08:20:42 +02:00
Joakim Frostegård
64051b15a8
Merge branch 'master' into http-glommio 2021-10-28 21:22:41 +02:00
Joakim Frostegård
4f055c7c6f Update TODO 2021-10-28 20:23:56 +02:00
Joakim Frostegård
af0761418e aquatic_http: improve ConnectionMeta field names and types 2021-10-28 19:30:04 +02:00
Joakim Frostegård
2deadb2fff README: improve info on libssl-dev installation 2021-10-28 18:39:00 +02:00
Joakim Frostegård
b938a6c723 Improve README 2021-10-28 18:29:26 +02:00
Joakim Frostegård
1fca54bfe9 Improve README 2021-10-28 18:25:51 +02:00
Joakim Frostegård
109a3e34f3 README: rewrite and improve 2021-10-28 18:15:12 +02:00
Joakim Frostegård
a24a10c518 README: write implementation list as table 2021-10-28 17:36:11 +02:00
Joakim Frostegård
cccee914d6 aquatic_http: remove config fields previously used for mio impl 2021-10-28 01:57:16 +02:00
Joakim Frostegård
f60631b29e Run cargo fmt 2021-10-28 01:49:37 +02:00
Joakim Frostegård
130377b8f4 aquatic_http: remove mio implementation 2021-10-28 01:48:32 +02:00
Joakim Frostegård
a935a3bbf0 Update TODO 2021-10-28 01:33:23 +02:00
Joakim Frostegård
49ed4371e7 Run cargo fmt, clean up imports 2021-10-28 01:23:43 +02:00
Joakim Frostegård
80447d9d1b aquatic_http_load_test: refactor timer code; panic on an error case 2021-10-28 01:21:47 +02:00
Joakim Frostegård
e458cc54db aquatic_http_load_test: remove mio implementation, clean up 2021-10-28 01:13:18 +02:00
Joakim Frostegård
13d18bbf03 aquatic_http_load_test: add glommio implementation 2021-10-28 01:06:13 +02:00
Joakim Frostegård
e79a8c7e68 Update TODO 2021-10-27 21:23:54 +02:00
Joakim Frostegård
85412e2976 file transfer CI: comment out plain HTTP stuff, use rust:1-bullseye 2021-10-27 21:21:55 +02:00
Joakim Frostegård
e6d7f78a7a aquatic_http: don't use bindings_after_at - it causes CI error 2021-10-27 21:11:07 +02:00
Joakim Frostegård
5d782999d3 CI: use Rust 1.56, ignore plain HTTP result for now 2021-10-27 21:03:57 +02:00
Joakim Frostegård
974aaf03b4 aquatic_http: set default impl to glommio for testing 2021-10-27 20:52:01 +02:00
Joakim Frostegård
67e82ebad1 Update TODO 2021-10-27 20:51:38 +02:00
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