Commit graph

897 commits

Author SHA1 Message Date
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
Joakim Frostegård
90d560c307 http glommio: stop looping if peer closed connection 2021-11-01 17:18:27 +01:00
Joakim Frostegård
6a1c12a38b http glommio: better debug logs for RequestParseError::NeedMoreData 2021-11-01 17:18:27 +01:00
Joakim Frostegård
a9b8b0224d aquatic_http: glommio: remove closed connections in own fn 2021-11-01 17:18:27 +01:00
Joakim Frostegård
f767e8a6fa aquatic_http: glommio: call wait_for_response in handle_request 2021-11-01 17:18:27 +01:00
Joakim Frostegård
edec526d41 aquatic_http: glommio: clean up Connection code, stop storing handle 2021-11-01 17:18:27 +01:00
Joakim Frostegård
afce23e321 aquatic_http: glommio: use futures-rustls 2021-11-01 17:18:27 +01:00
Joakim Frostegård
5a1bedfe85
Merge pull request #15 from greatest-ape/udp-fixes
aquatic_udp mio implementation: clean connections according to interval, print more statistics
2021-10-31 21:35:30 +01:00
Joakim Frostegård
1949ed2e9c aquatic_udp: mio: rewrite connection cleaning interval logic 2021-10-31 21:12:52 +01:00
Joakim Frostegård
03a344eb8e aquatic_udp: mio: print num torrents and peers in statistics 2021-10-31 19:57:30 +01:00
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