Commit graph

342 commits

Author SHA1 Message Date
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
Joakim Frostegård
bc4ada104d rename crate "bittorrent_udp" to "aquatic_udp_protocol" 2020-05-25 19:21:52 +02:00
Joakim Frostegård
abc0034a45 aquatic_ws: don't send peer its own offer 2020-05-25 19:01:10 +02:00
Joakim Frostegård
689a874cbe aquatic_ws: use debug log level for "read message" and "sent message" 2020-05-25 18:51:04 +02:00
Joakim Frostegård
6b881af20d Update TODO 2020-05-25 18:44:11 +02:00
Joakim Frostegård
5babd8eda0 aquatic udp load test: use socket2 instead of net2 2020-05-25 18:42:23 +02:00
Joakim Frostegård
96991562e3 aquatic_udp: use socket2 instead of net2 2020-05-25 18:33:07 +02:00
Joakim Frostegård
1ec4745f45 aquatic_ws: use socket2 instead of net2 2020-05-25 18:24:36 +02:00
Joakim Frostegård
5c07370786 Update TODO 2020-05-25 18:06:49 +02:00
Joakim Frostegård
840f67fc8d aquatic_udp: move some config vars to new substruct, ProtocolConfig 2020-05-25 18:04:47 +02:00
Joakim Frostegård
5af9ae4ede aquatic_ws: move some config vars to new substruct ProtocolConfig 2020-05-25 17:59:52 +02:00
Joakim Frostegård
15b749afed README: add section "architectural overview" 2020-05-24 13:27:02 +02:00
Joakim Frostegård
449d40c814 Update and reorganize README 2020-05-24 13:15:18 +02:00
Joakim Frostegård
e3b7af2c00 aquatic_ws: log error messages on channel send failure 2020-05-23 20:41:20 +02:00
Joakim Frostegård
ba060c539b aquatic_ws executable: remove thread log settings, add comment 2020-05-23 20:33:16 +02:00