Commit graph

356 commits

Author SHA1 Message Date
Joakim Frostegård
c2f79aa368 aquatic_http: reduce allocations in Request::urldecode 2020-07-03 17:43:34 +02:00
Joakim Frostegård
7419c51434 aquatic_http protocol: refactor into more submodules, other fixes 2020-07-03 17:25:31 +02:00
Joakim Frostegård
52cc7d8acb aquatic_http: write custom deserialize logic for Request 2020-07-03 17:10:30 +02:00
Joakim Frostegård
501c2a293a Update TODO 2020-07-03 15:32:06 +02:00
Joakim Frostegård
e2638ad7e9 Update TODO 2020-07-03 14:42:18 +02:00
Joakim Frostegård
afb50f54de Update TODO 2020-07-03 14:30:30 +02:00
Joakim Frostegård
16333b5a08 aquatic_http: serialize info_hash and peer_id properly 2020-07-03 14:30:00 +02:00
Joakim Frostegård
bfabd1fe57 Update TODO 2020-07-03 14:04:37 +02:00
Joakim Frostegård
f9c1da9520 Update TODO 2020-07-03 13:18:01 +02:00
Joakim Frostegård
52a29fc14a aquatic_http: store info_hash and peer_id in [u8; 20] 2020-07-03 13:17:02 +02:00
Joakim Frostegård
f28abbb7f6 aquatic_http: fix issue with incorrect parsing of info_hash, peer_id 2020-07-03 13:06:09 +02:00
Joakim Frostegård
136a79ce8d aquatic_http: use flexible-sized buffer for request reading 2020-07-03 11:13:55 +02:00
Joakim Frostegård
3a8e5a3abf aquatic_http: update 'valid_until' for established connections 2020-07-03 10:16:27 +02:00
Joakim Frostegård
1dc2f44d9c restructure aquatic_common_tcp, move more into it from aquatic_http 2020-07-03 00:23:19 +02:00
Joakim Frostegård
f3dcc8762e Update TODO; minor fixes to aquatic_http and aquatic_common_tcp 2020-07-02 23:32:48 +02:00
Joakim Frostegård
7bc47ab93f aquatic_http: microoptimize EstablishedConnection 2020-07-02 22:56:24 +02:00
Joakim Frostegård
fb6caf7343 aquatic_http: prococol module: parse Request from path 2020-07-02 22:53:03 +02:00
Joakim Frostegård
d5b82bcf70 aquatic_http: simplify tls handshake code further 2020-07-02 22:43:54 +02:00
Joakim Frostegård
ccfa03f6cc aquatic_http: simplify network logic 2020-07-02 22:14:52 +02:00
Joakim Frostegård
b43eeb4d65 aquatic_http network code: improve comments 2020-07-02 21:23:37 +02:00
Joakim Frostegård
81983b98a2 Update TODO 2020-07-02 21:16:13 +02:00
Joakim Frostegård
f73910934b aquatic_http: keep connection after sending response; other fixes 2020-07-02 21:14:56 +02:00
Joakim Frostegård
b86787ef20 move back SocketConfig to aquatic_http 2020-07-02 17:06:34 +02:00
Joakim Frostegård
82378e71f6 Move things to aquatic_common_tcp 2020-07-02 16:54:27 +02:00
Joakim Frostegård
720596dfb4 move more things from aquatic_http to aquatic_common_tcp 2020-07-02 16:47:33 +02:00
Joakim Frostegård
2e53a2adc1 add aquatic_common_tcp crate, move common functionality there 2020-07-02 16:34:36 +02:00
Joakim Frostegård
1eaf2a0351 aquatic_http: AnnounceRequest.compact: default to true 2020-07-02 15:58:23 +02:00
Joakim Frostegård
ff4fcc163d aquatic_http: deserialize AnnounceRequest.compact to bool 2020-07-02 15:51:45 +02:00
Joakim Frostegård
6fc4b693cd aquatic_http: clean up / move around code; update TODO 2020-07-02 15:34:56 +02:00
Joakim Frostegård
c8de9857f8 aquatic_http: check info_hash and peer_id len when deserializing 2020-07-02 15:29:01 +02:00
Joakim Frostegård
5e7f8bea20 aquatic_http: add compact response peer repr, not tested 2020-07-02 14:37:47 +02:00
Joakim Frostegård
d2e950b431 aquatic_http: use untagged enum for Response; update TODO 2020-07-02 13:58:32 +02:00
Joakim Frostegård
6b1f11635b aquatic_http: bencoded response with content-length 2020-07-02 13:47:37 +02:00
Joakim Frostegård
a487347a0d aquatic_http: continue implementation work 2020-07-02 13:21:39 +02:00
Joakim Frostegård
76079cf66e WIP: more work on aquatic_http 2020-07-02 00:39:50 +02:00
Joakim Frostegård
404e528616 WIP: start work on http tracker 2020-07-01 18:56:19 +02:00
Joakim Frostegård
ebe4d4357b Update TODO 2020-06-30 00:17:30 +02:00
Joakim Frostegård
7867d5c8f3 Update README: brag more about performance 2020-06-30 00:04:57 +02:00
Joakim Frostegård
7512b4b44f setup-bench-on-debian.sh: roll nginx into other apt-get line
Not installing nginx means script is aborted because of
"set -e", and that setting serves a purpose
2020-06-30 00:04:01 +02:00
Joakim Frostegård
4c2c6634c3 setup-bench-on-debian.sh: install git 2020-06-30 00:03:21 +02:00
Joakim Frostegård
1b4f04b6cf Update TODO 2020-05-30 15:06:32 +02:00
Joakim Frostegård
be18fb2655 aquatic_ws network connection: improve documentation 2020-05-30 15:04:49 +02:00
Joakim Frostegård
8dcf3e106c aquatic_udp default config: don't print statistics 2020-05-30 14:55:27 +02:00
Joakim Frostegård
897e2f748c Update TODO 2020-05-26 19:24:04 +02:00
Joakim Frostegård
f52de1ea44 aquatic_ws: log to stderr instead of stdout 2020-05-26 19:23:14 +02:00
Joakim Frostegård
7dd02a03d3 aquatic_ws announce handler: improve variable naming and scoping 2020-05-26 19:17:37 +02:00
Joakim Frostegård
efdd0315b0 TODO.md: update headings to reflect new crate names 2020-05-25 19:56:06 +02:00
Joakim Frostegård
9aa8f3e8f2 README: rename "architectural overview" section and move close to top 2020-05-25 19:47:51 +02:00
Joakim Frostegård
3addab07f0 move plot_pareto from aquatic_udp_bench crate into own crate 2020-05-25 19:38:53 +02:00
Joakim Frostegård
2f13e1e1a8 rename crate "cli_helpers" to "aquatic_cli_helpers" 2020-05-25 19:27:22 +02:00