Commit graph

  • 3321f40697 Update TODO Joakim Frostegård 2020-05-13 20:48:23 +02:00
  • b05db0f699 aquatic_ws: remove unused import Joakim Frostegård 2020-05-13 20:05:39 +02:00
  • 63b84e7706 aquatic_ws: move more code into Connection impl Joakim Frostegård 2020-05-13 20:02:05 +02:00
  • 7011a797ee Update TODO; clean up code Joakim Frostegård 2020-05-13 19:40:49 +02:00
  • 846e076b4b aquatic_ws: move code into Connection impl, so inner can be private Joakim Frostegård 2020-05-13 19:34:46 +02:00
  • 0bcfffb2bd aquatic_ws: create HandshakeMachine from ConnectionStage Joakim Frostegård 2020-05-13 19:17:33 +02:00
  • 2967129c1f aquatic_ws: network: streamline handshake handlers Joakim Frostegård 2020-05-13 18:44:10 +02:00
  • 6d06a43db8 aquatic_ws: add setting for using tls; update TODO Joakim Frostegård 2020-05-13 16:43:23 +02:00
  • 300aa85cbb Update TODO Joakim Frostegård 2020-05-13 16:05:38 +02:00
  • a6f1d3fa36 aquatic_ws: network: improve comments Joakim Frostegård 2020-05-13 16:02:49 +02:00
  • 021fd554b0 aquatic_ws: streamline network code Joakim Frostegård 2020-05-13 15:56:45 +02:00
  • 68abecdaa5 aquatic_ws: run_handshakes_and_read_messages: simplify code Joakim Frostegård 2020-05-13 15:49:07 +02:00
  • 7e2f371007 aquatic_ws: simplify network code further Joakim Frostegård 2020-05-13 15:14:11 +02:00
  • 6a8047a5fe aquatic_ws: run_handshakes_and_read_messages: simplify Joakim Frostegård 2020-05-13 15:04:53 +02:00
  • 012ccd7ec1 aquatic_ws: simplify network code Joakim Frostegård 2020-05-13 15:03:02 +02:00
  • 05844e9645 WIP: aquatic_ws: continue work on simplifying network code Joakim Frostegård 2020-05-13 14:46:38 +02:00
  • 91590858b9 WIP: aquatic_ws; work on simplifying network code Joakim Frostegård 2020-05-13 14:35:05 +02:00
  • 9c15a97975 Update TODO Joakim Frostegård 2020-05-12 21:08:52 +02:00
  • 987e1a4a45 aquatic_ws: improve comments in config Joakim Frostegård 2020-05-12 21:08:30 +02:00
  • 0c93d170de WIP: aquatic_ws network: organize into submodule, other small fixes Joakim Frostegård 2020-05-12 21:04:47 +02:00
  • 800d3b0efa WIP: aquatic_ws: network: add ConnectionStage::is_established Joakim Frostegård 2020-05-12 20:35:56 +02:00
  • 6e0b0ccbc2 WIP: aquatic_ws: network: rename PeerConnection to EstablishedWs Joakim Frostegård 2020-05-12 20:31:07 +02:00
  • b221f3fc34 WIP: aquatic_ws: support tls and no tls with same functions Joakim Frostegård 2020-05-12 20:20:00 +02:00
  • de9a32840f WIP: aquatic_ws: start work on wss (ws with tls) Joakim Frostegård 2020-05-12 18:48:50 +02:00
  • 289658815c Update TODO Joakim Frostegård 2020-05-12 15:49:30 +02:00
  • 7c9ecda53a aquatic_ws: clean torrent state periodically Joakim Frostegård 2020-05-12 15:45:28 +02:00
  • de06931242 aquatic_ws: in remove_inactive_connections, run shrink_to_fit on map Joakim Frostegård 2020-05-12 15:24:57 +02:00
  • e4bdfd06fb aquatic_ws: set so_reuseport on socket, with new create_listener fn Joakim Frostegård 2020-05-12 15:23:25 +02:00
  • 21048727db aquatic_ws: add Config, use in many places; use cli_helpers for cli Joakim Frostegård 2020-05-12 14:58:55 +02:00
  • 0c8160e3d6 Update TODO: rename aquatic to aquatic_udp; add aquatic_ws TODOs Joakim Frostegård 2020-05-12 12:30:38 +02:00
  • 2d56ac7c21 aquaticc ws: handle_announce_requests: add #[inline] to helper fn Joakim Frostegård 2020-05-12 12:29:05 +02:00
  • 499c04d621 aquatic_ws: derive Copy on twenty byte structures, avoid clones Joakim Frostegård 2020-05-12 12:26:49 +02:00
  • e76b54e697 aquatic_ws: twenty byte serde: improve comment Joakim Frostegård 2020-05-12 12:24:50 +02:00
  • 7155f493d9 aquatic_ws: add serialization for 20-byte structures Joakim Frostegård 2020-05-12 00:19:42 +02:00
  • 9030944c02 aquatic_ws: deserialize 20 byte strings: improve code Joakim Frostegård 2020-05-11 23:35:45 +02:00
  • 761952513f remove unused dependencies from aquatic_ws; run cargo update Joakim Frostegård 2020-05-11 23:24:50 +02:00
  • 18c4a51b74 aquatic_ws: use [u8; 20] for info hash etc, fix deserialization Joakim Frostegård 2020-05-11 23:20:58 +02:00
  • 6b0f2463b6 Update README to reflect reorganisation & aquatic_ws Joakim Frostegård 2020-05-11 17:57:07 +02:00
  • 5c83af9f88 Move some code from aquatic_udp into aquatic_common Joakim Frostegård 2020-05-11 17:06:37 +02:00
  • 1b8d74e26d rename aquatic to aquatic_udp, same for bench and load test crates Joakim Frostegård 2020-05-11 16:55:46 +02:00
  • f614bab03d update TODO Joakim Frostegård 2020-05-11 16:30:12 +02:00
  • f3f2023306 aquatic_ws: update comments Joakim Frostegård 2020-05-11 16:27:42 +02:00
  • f1a20b0c8c aquatic_ws: add some fixme comments, update ValidUntil time Joakim Frostegård 2020-05-11 16:22:30 +02:00
  • ddef44fb91 Update TODO Joakim Frostegård 2020-05-11 16:20:20 +02:00
  • b76f8cdebc aquatic_ws: shorten field names in ConnectionMeta, PeerConnection Joakim Frostegård 2020-05-11 16:19:40 +02:00
  • da2d5986b9 aquatic_ws: check for "fake" peer_id's in announce requests Joakim Frostegård 2020-05-11 16:07:51 +02:00
  • ab178b3189 add scripts/run-aquatic-ws.sh Joakim Frostegård 2020-05-11 15:41:46 +02:00
  • 9fc9f2fd9c aquatic_ws: network: remove inactive connections Joakim Frostegård 2020-05-11 15:39:50 +02:00
  • 87290f4289 aquatic_ws: rename "read_and_forward_in_messages; move around code Joakim Frostegård 2020-05-11 14:41:17 +02:00
  • 6136184890 aquatic_ws: network: handle network errors better Joakim Frostegård 2020-05-11 14:36:47 +02:00
  • 656b0da3c6 aquatic_ws: use fn handle_handshake_result in one more location Joakim Frostegård 2020-05-11 14:29:27 +02:00
  • 583d323c7f aquatic_ws: create fn handle_handshake_result Joakim Frostegård 2020-05-11 14:25:35 +02:00
  • 274799872f aquatic_ws: clean up; remove connection on IO error; update TODO Joakim Frostegård 2020-05-11 14:13:14 +02:00
  • e4bb851c10 aquatic_ws: in listener, remove previous connection if it exists Joakim Frostegård 2020-05-11 14:04:13 +02:00
  • 0ec73d6cea aquatic_ws: network: ConnectionMap: use Token as key Joakim Frostegård 2020-05-11 13:55:28 +02:00
  • a85a72ff66 WIP: aquatic_ws: network: improve connection map & token code Joakim Frostegård 2020-05-11 13:45:17 +02:00
  • 003e5f2df9 WIP: aquatic_ws: rewrite network code, announce working somewhat Joakim Frostegård 2020-05-10 20:24:04 +02:00
  • 75c8ccd523 WIP: try to get mio + tungstenite working Joakim Frostegård 2020-05-10 15:25:22 +02:00
  • 806ac5b184 aquatic_ws protocol: scrape request: add serde rename for info_hashes Joakim Frostegård 2020-05-10 12:10:58 +02:00
  • 460a778d0d aquatic_ws: protocol: add info hash vector parsing; refactor Joakim Frostegård 2020-05-09 15:07:25 +02:00
  • 9509c9125f aquatic_ws: add custom deserializer for 20 ascii byte strings Joakim Frostegård 2020-05-09 13:28:01 +02:00
  • dcfc1c9854 Update TODO Joakim Frostegård 2020-05-08 21:33:02 +02:00
  • e6a4bca04c aquatic ws: split network code into separate functions Joakim Frostegård 2020-05-08 21:26:08 +02:00
  • 5b58db90e3 aquatic_ws: pass on offers to other peers; minor fixes Joakim Frostegård 2020-05-08 21:05:46 +02:00
  • f2ae494902 aquatic: make extract_response_peers generic (for aquatic_ws) Joakim Frostegård 2020-05-08 21:05:17 +02:00
  • fa82d93190 aquatic_ws: announce handler: update comments Joakim Frostegård 2020-05-08 02:15:14 +02:00
  • 982f3c8959 aquatic_ws: request_worker: improve channel reading logic Joakim Frostegård 2020-05-08 02:07:03 +02:00
  • a39c7a5950 aquatic_ws: announce handler fixes, related changes elsewhere Joakim Frostegård 2020-05-08 01:57:12 +02:00
  • 7ebbb311e1 aquatic_ws: handler: implement scrape handler; other small changes Joakim Frostegård 2020-05-08 01:12:50 +02:00
  • 1bb9caa8d1 aquatic_ws: add more protocol fixes and info; small handler fix Joakim Frostegård 2020-05-08 00:48:35 +02:00
  • b2b4f5bb89 aquatic_ws: add some serde attributes on protocol data types Joakim Frostegård 2020-05-07 19:42:15 +02:00
  • 4d0c3d309a aquatic_ws: add tungstenite::Message encode and decode, not tested Joakim Frostegård 2020-05-07 19:34:28 +02:00
  • c94b3d7d3c WIP: aquatic_ws: minor work, renaming, mock impls Joakim Frostegård 2020-05-07 17:18:23 +02:00
  • cf75a07a7e WIP: aquatic_ws: start work on data structures, data flow Joakim Frostegård 2020-05-07 16:49:28 +02:00
  • 0d835452c1 WIP: aquatic_ws: start trying to understand and document protocol Joakim Frostegård 2020-05-07 03:09:41 +02:00
  • 1080652282 WIP: start work on webtorrent support Joakim Frostegård 2020-05-07 01:08:29 +02:00
  • 6110017980 aquatic: add setting for dropping privileges after opening sockets Joakim Frostegård 2020-05-06 01:26:35 +02:00
  • e0526ac828 aquatic handle_announce_requests: reorder code, remove branch Joakim Frostegård 2020-05-06 00:44:23 +02:00
  • f9428801bf aquatic: don't use atomic usizes in torrent state Joakim Frostegård 2020-05-06 00:27:16 +02:00
  • ce1fc8c1b3 Update TODO Joakim Frostegård 2020-05-04 17:11:15 +02:00
  • cae534d82d scripts/test.sh: add comment about quickcheck constants Joakim Frostegård 2020-05-04 17:10:55 +02:00
  • 8effcb8d91 setup-bench-on-debian.sh: add rustc build flag for aquatic Joakim Frostegård 2020-05-04 17:10:39 +02:00
  • c8ce374736 Run cargo update Joakim Frostegård 2020-04-28 13:25:59 +02:00
  • 21ff7f7b9f README: in example config output, use actual defaults Joakim Frostegård 2020-04-22 10:55:11 +02:00
  • dab7e9618c README: add more usage information, other small adjustments Joakim Frostegård 2020-04-21 18:39:26 +02:00
  • 417b2207f4 README: add copyright statement Joakim Frostegård 2020-04-20 17:23:34 +02:00
  • 689decad09 Update README Joakim Frostegård 2020-04-20 17:19:42 +02:00
  • cf28fcbaff README: brag about performance Joakim Frostegård 2020-04-20 17:05:44 +02:00
  • 9130bb146d Update TODO Joakim Frostegård 2020-04-20 17:03:38 +02:00
  • 9e7c27a789 aquatic: use shorter thread names Joakim Frostegård 2020-04-20 16:59:42 +02:00
  • 352f571c42 Decide to use Apache 2.0 license, add file and update Cargo.toml's Joakim Frostegård 2020-04-20 16:54:43 +02:00
  • db09538037 Add cargo deny file deny.toml, check dependency licenses Joakim Frostegård 2020-04-20 16:49:40 +02:00
  • 8a347af5d6 Update TODO Joakim Frostegård 2020-04-19 21:08:36 +02:00
  • 1e29a422b0 Add usage section to README Joakim Frostegård 2020-04-19 21:04:15 +02:00
  • 623f43f202 Add load test pdf, remove load test details from README Joakim Frostegård 2020-04-19 20:58:05 +02:00
  • 4f21a90bb8 Improve looks of README Joakim Frostegård 2020-04-19 19:31:37 +02:00
  • 44a58d4946 Add benchmarks to README; update TODO Joakim Frostegård 2020-04-19 19:27:20 +02:00
  • 61841fffc3 Update TODO Joakim Frostegård 2020-04-19 12:06:06 +02:00
  • a8e27f0d74 load test: fix report bug Joakim Frostegård 2020-04-19 11:00:43 +02:00
  • ec93760304 Update TODO Joakim Frostegård 2020-04-19 10:39:52 +02:00