Commit graph

  • f9c1da9520 Update TODO Joakim Frostegård 2020-07-03 13:18:01 +02:00
  • 52a29fc14a aquatic_http: store info_hash and peer_id in [u8; 20] Joakim Frostegård 2020-07-03 13:17:02 +02:00
  • f28abbb7f6 aquatic_http: fix issue with incorrect parsing of info_hash, peer_id Joakim Frostegård 2020-07-03 13:06:09 +02:00
  • 136a79ce8d aquatic_http: use flexible-sized buffer for request reading Joakim Frostegård 2020-07-03 11:13:55 +02:00
  • 3a8e5a3abf aquatic_http: update 'valid_until' for established connections Joakim Frostegård 2020-07-03 10:16:27 +02:00
  • 1dc2f44d9c restructure aquatic_common_tcp, move more into it from aquatic_http Joakim Frostegård 2020-07-03 00:22:14 +02:00
  • f3dcc8762e Update TODO; minor fixes to aquatic_http and aquatic_common_tcp Joakim Frostegård 2020-07-02 23:32:48 +02:00
  • 7bc47ab93f aquatic_http: microoptimize EstablishedConnection Joakim Frostegård 2020-07-02 22:56:24 +02:00
  • fb6caf7343 aquatic_http: prococol module: parse Request from path Joakim Frostegård 2020-07-02 22:53:03 +02:00
  • d5b82bcf70 aquatic_http: simplify tls handshake code further Joakim Frostegård 2020-07-02 22:43:54 +02:00
  • ccfa03f6cc aquatic_http: simplify network logic Joakim Frostegård 2020-07-02 22:14:52 +02:00
  • b43eeb4d65 aquatic_http network code: improve comments Joakim Frostegård 2020-07-02 21:22:27 +02:00
  • 81983b98a2 Update TODO Joakim Frostegård 2020-07-02 21:16:13 +02:00
  • f73910934b aquatic_http: keep connection after sending response; other fixes Joakim Frostegård 2020-07-02 21:14:56 +02:00
  • b86787ef20 move back SocketConfig to aquatic_http Joakim Frostegård 2020-07-02 17:06:34 +02:00
  • 82378e71f6 Move things to aquatic_common_tcp Joakim Frostegård 2020-07-02 16:54:27 +02:00
  • 720596dfb4 move more things from aquatic_http to aquatic_common_tcp Joakim Frostegård 2020-07-02 16:47:33 +02:00
  • 2e53a2adc1 add aquatic_common_tcp crate, move common functionality there Joakim Frostegård 2020-07-02 16:34:36 +02:00
  • 1eaf2a0351 aquatic_http: AnnounceRequest.compact: default to true Joakim Frostegård 2020-07-02 15:57:16 +02:00
  • ff4fcc163d aquatic_http: deserialize AnnounceRequest.compact to bool Joakim Frostegård 2020-07-02 15:51:45 +02:00
  • 6fc4b693cd aquatic_http: clean up / move around code; update TODO Joakim Frostegård 2020-07-02 15:34:56 +02:00
  • c8de9857f8 aquatic_http: check info_hash and peer_id len when deserializing Joakim Frostegård 2020-07-02 15:29:01 +02:00
  • 5e7f8bea20 aquatic_http: add compact response peer repr, not tested Joakim Frostegård 2020-07-02 14:37:47 +02:00
  • d2e950b431 aquatic_http: use untagged enum for Response; update TODO Joakim Frostegård 2020-07-02 13:58:32 +02:00
  • 6b1f11635b aquatic_http: bencoded response with content-length Joakim Frostegård 2020-07-02 13:45:56 +02:00
  • a487347a0d aquatic_http: continue implementation work Joakim Frostegård 2020-07-02 13:21:39 +02:00
  • 76079cf66e WIP: more work on aquatic_http Joakim Frostegård 2020-07-02 00:39:50 +02:00
  • 404e528616 WIP: start work on http tracker Joakim Frostegård 2020-07-01 18:56:19 +02:00
  • ebe4d4357b Update TODO Joakim Frostegård 2020-06-30 00:05:08 +02:00
  • 7867d5c8f3 Update README: brag more about performance Joakim Frostegård 2020-06-30 00:04:57 +02:00
  • 7512b4b44f setup-bench-on-debian.sh: roll nginx into other apt-get line Joakim Frostegård 2020-06-30 00:04:01 +02:00
  • 4c2c6634c3 setup-bench-on-debian.sh: install git Joakim Frostegård 2020-06-30 00:03:21 +02:00
  • 1b4f04b6cf Update TODO Joakim Frostegård 2020-05-30 15:06:32 +02:00
  • be18fb2655 aquatic_ws network connection: improve documentation Joakim Frostegård 2020-05-30 15:04:49 +02:00
  • 8dcf3e106c aquatic_udp default config: don't print statistics Joakim Frostegård 2020-05-30 14:55:27 +02:00
  • 897e2f748c Update TODO Joakim Frostegård 2020-05-26 19:24:04 +02:00
  • f52de1ea44 aquatic_ws: log to stderr instead of stdout Joakim Frostegård 2020-05-26 19:23:14 +02:00
  • 7dd02a03d3 aquatic_ws announce handler: improve variable naming and scoping Joakim Frostegård 2020-05-26 19:15:38 +02:00
  • efdd0315b0 TODO.md: update headings to reflect new crate names Joakim Frostegård 2020-05-25 19:56:06 +02:00
  • 9aa8f3e8f2 README: rename "architectural overview" section and move close to top Joakim Frostegård 2020-05-25 19:47:51 +02:00
  • 3addab07f0 move plot_pareto from aquatic_udp_bench crate into own crate Joakim Frostegård 2020-05-25 19:37:11 +02:00
  • 2f13e1e1a8 rename crate "cli_helpers" to "aquatic_cli_helpers" Joakim Frostegård 2020-05-25 19:27:22 +02:00
  • bc4ada104d rename crate "bittorrent_udp" to "aquatic_udp_protocol" Joakim Frostegård 2020-05-25 19:21:52 +02:00
  • abc0034a45 aquatic_ws: don't send peer its own offer Joakim Frostegård 2020-05-25 18:59:43 +02:00
  • 689a874cbe aquatic_ws: use debug log level for "read message" and "sent message" Joakim Frostegård 2020-05-25 18:51:04 +02:00
  • 6b881af20d Update TODO Joakim Frostegård 2020-05-25 18:44:11 +02:00
  • 5babd8eda0 aquatic udp load test: use socket2 instead of net2 Joakim Frostegård 2020-05-25 18:42:23 +02:00
  • 96991562e3 aquatic_udp: use socket2 instead of net2 Joakim Frostegård 2020-05-25 18:33:07 +02:00
  • 1ec4745f45 aquatic_ws: use socket2 instead of net2 Joakim Frostegård 2020-05-25 18:24:36 +02:00
  • 5c07370786 Update TODO Joakim Frostegård 2020-05-25 18:06:49 +02:00
  • 840f67fc8d aquatic_udp: move some config vars to new substruct, ProtocolConfig Joakim Frostegård 2020-05-25 18:04:47 +02:00
  • 5af9ae4ede aquatic_ws: move some config vars to new substruct ProtocolConfig Joakim Frostegård 2020-05-25 17:59:52 +02:00
  • 15b749afed README: add section "architectural overview" Joakim Frostegård 2020-05-24 13:27:02 +02:00
  • 449d40c814 Update and reorganize README Joakim Frostegård 2020-05-24 13:10:40 +02:00
  • e3b7af2c00 aquatic_ws: log error messages on channel send failure Joakim Frostegård 2020-05-23 20:41:20 +02:00
  • ba060c539b aquatic_ws executable: remove thread log settings, add comment Joakim Frostegård 2020-05-23 20:32:14 +02:00
  • 66216657ec aquatic_ws: name worker threads Joakim Frostegård 2020-05-23 20:24:49 +02:00
  • bc8916dce4 aquatic_ws: add logging with level configured by config file Joakim Frostegård 2020-05-23 20:15:34 +02:00
  • 0d4bc25ea9 Update README: update aquatic_ws default config Joakim Frostegård 2020-05-23 17:43:23 +02:00
  • a5b1fa619a cli_helpers: better error messages for config file opening/reading Joakim Frostegård 2020-05-23 17:25:09 +02:00
  • 80c924d461 Update TODO Joakim Frostegård 2020-05-23 17:16:44 +02:00
  • b9ee290ca0 aquatic_ws: add more anyhow error context annotations Joakim Frostegård 2020-05-23 17:15:11 +02:00
  • 65684472a6 Update TODO Joakim Frostegård 2020-05-23 17:08:12 +02:00
  • 7c33358254 aquatic_ws: polling: don't check if event readable Joakim Frostegård 2020-05-23 17:06:46 +02:00
  • b571f2d8fd cli_helpers: add explicit short form -p for --print-config Joakim Frostegård 2020-05-23 17:02:58 +02:00
  • f3bdb6bc2a aquatic_ws: privilege dropping; cli_helpers: show error context Joakim Frostegård 2020-05-23 16:59:23 +02:00
  • a596ee155a aquatic_ws: wait for and quit on socket bind errors in workers Joakim Frostegård 2020-05-23 16:38:31 +02:00
  • 078a8c2868 Update TODO Joakim Frostegård 2020-05-23 15:47:11 +02:00
  • d4bcc14c82 aquatic_ws: add setting Config.ipv6_only Joakim Frostegård 2020-05-23 15:40:56 +02:00
  • 416d61a2b2 aquatic_ws: split torrent state by ipv4/ipv6 Joakim Frostegård 2020-05-23 15:15:01 +02:00
  • 7430c23ccc aquatic_ws: add simple_logger for debugging, need better solution Joakim Frostegård 2020-05-23 14:53:29 +02:00
  • 23e0e0bcd0 aquatic_ws: add log::trace statements for message read and write Joakim Frostegård 2020-05-23 14:44:42 +02:00
  • a30335730b aquatic_ws: add settings for max ws message sizes, set low defaults Joakim Frostegård 2020-05-23 14:44:03 +02:00
  • 0f6d6d4b21 aquatic_ws: use log crate for debug error messages Joakim Frostegård 2020-05-23 14:24:26 +02:00
  • 572aa632b6 aquatic_ws: don't handle connection closed same as other errors Joakim Frostegård 2020-05-23 14:17:03 +02:00
  • ae92785484 Update TODO Joakim Frostegård 2020-05-23 14:10:06 +02:00
  • 526faa9aab cli_helpers: use anyhow in app fn; aquatic_ws: reorganize error handling Joakim Frostegård 2020-05-23 14:05:50 +02:00
  • 1efe6f96c5 Update TODO Joakim Frostegård 2020-05-22 12:22:40 +02:00
  • 0eae9a12cf Update TODO Joakim Frostegård 2020-05-19 12:25:47 +02:00
  • b42ff9a23b aquatic_ws: remove DebugCallback and lots of debug output Joakim Frostegård 2020-05-18 13:01:48 +02:00
  • cb0c299298 Update TODO Joakim Frostegård 2020-05-17 21:26:44 +02:00
  • 1a2432733e aquatic_ws: in scrape handler, limit HashMap preallocation Joakim Frostegård 2020-05-17 21:22:32 +02:00
  • 9a04173f65 Run cargo update Joakim Frostegård 2020-05-17 12:14:59 +02:00
  • 2b11091bfb deny.toml: allow ISC license Joakim Frostegård 2020-05-17 12:13:27 +02:00
  • c1d08bc6d5 bittorrent_udp: add short doc comment Joakim Frostegård 2020-05-17 12:08:53 +02:00
  • ea85f23ac7 Update TODO Joakim Frostegård 2020-05-17 12:08:41 +02:00
  • 4216452fc9 aquatic_udp, aquatic_ws: bind to 0.0.0.0:3000 by default Joakim Frostegård 2020-05-17 11:58:00 +02:00
  • c8105db053 Update README Joakim Frostegård 2020-05-17 11:52:51 +02:00
  • 7da7d79d90 aquatic_ws: remove no longer valid comment Joakim Frostegård 2020-05-15 17:06:10 +02:00
  • ad925c07f1 aquatic_ws: comment out privilege settings since they're not implemented Joakim Frostegård 2020-05-15 17:01:15 +02:00
  • 0eb4039b5e aquatic_ws: network: use HandshakeMachine::new in Connection Joakim Frostegård 2020-05-15 16:16:03 +02:00
  • 420dcbc717 aquatic_ws: network: rename common.rs to connection.rs Joakim Frostegård 2020-05-15 16:15:39 +02:00
  • 73c90622c7 aquatic_ws network: make HandshakeMachine non-public Joakim Frostegård 2020-05-15 16:12:56 +02:00
  • 885640a385 Update TODO Joakim Frostegård 2020-05-15 16:08:04 +02:00
  • 8bf9f2c408 Update README with instructions for TLS in aquatic_ws Joakim Frostegård 2020-05-15 16:07:14 +02:00
  • cb66364fa5 aquatic_ws: save peer even if AnnounceRequest.bytes_left is None Joakim Frostegård 2020-05-15 16:02:49 +02:00
  • 008d8b8eff Update TODO Joakim Frostegård 2020-05-14 22:51:06 +02:00
  • 138e501599 aquatic_ws: impl read_vectored and write_vectored for Stream Joakim Frostegård 2020-05-14 01:06:18 +02:00
  • a471d97620 Update TODO: write more general information at top Joakim Frostegård 2020-05-14 01:00:07 +02:00
  • 6c26331ffb aquatic_ws: add inline markers to functions that will probably be hot Joakim Frostegård 2020-05-14 00:25:31 +02:00