Commit Graph
186 Commits
Author SHA1 Message Date
Joakim Frostegård e6a4bca04c aquatic ws: split network code into separate functions 2020-05-08 21:26:31 +02:00
Joakim Frostegård 5b58db90e3 aquatic_ws: pass on offers to other peers; minor fixes 2020-05-08 21:05:46 +02:00
Joakim Frostegård f2ae494902 aquatic: make extract_response_peers generic (for aquatic_ws) 2020-05-08 21:05:17 +02:00
Joakim Frostegård fa82d93190 aquatic_ws: announce handler: update comments 2020-05-08 02:15:14 +02:00
Joakim Frostegård 982f3c8959 aquatic_ws: request_worker: improve channel reading logic 2020-05-08 02:07:03 +02:00
Joakim Frostegård a39c7a5950 aquatic_ws: announce handler fixes, related changes elsewhere 2020-05-08 01:57:12 +02:00
Joakim Frostegård 7ebbb311e1 aquatic_ws: handler: implement scrape handler; other small changes 2020-05-08 01:22:55 +02:00
Joakim Frostegård 1bb9caa8d1 aquatic_ws: add more protocol fixes and info; small handler fix 2020-05-08 00:50:29 +02:00
Joakim Frostegård b2b4f5bb89 aquatic_ws: add some serde attributes on protocol data types 2020-05-07 19:42:15 +02:00
Joakim Frostegård 4d0c3d309a aquatic_ws: add tungstenite::Message encode and decode, not tested 2020-05-07 19:34:28 +02:00
Joakim Frostegård c94b3d7d3c WIP: aquatic_ws: minor work, renaming, mock impls 2020-05-07 17:18:23 +02:00
Joakim Frostegård cf75a07a7e WIP: aquatic_ws: start work on data structures, data flow 2020-05-07 16:49:28 +02:00
Joakim Frostegård 0d835452c1 WIP: aquatic_ws: start trying to understand and document protocol 2020-05-07 13:34:29 +02:00
Joakim Frostegård 1080652282 WIP: start work on webtorrent support 2020-05-07 01:08:29 +02:00
Joakim Frostegård 6110017980 aquatic: add setting for dropping privileges after opening sockets 2020-05-06 15:54:03 +02:00
Joakim Frostegård e0526ac828 aquatic handle_announce_requests: reorder code, remove branch 2020-05-06 00:44:23 +02:00
Joakim Frostegård f9428801bf aquatic: don't use atomic usizes in torrent state
Doesn't make sense any more, since now a Mutex is used, not
dashmap with RwLock-like functionality
2020-05-06 00:27:16 +02:00
Joakim Frostegård ce1fc8c1b3 Update TODO 2020-05-04 17:11:15 +02:00
Joakim Frostegård cae534d82d scripts/test.sh: add comment about quickcheck constants 2020-05-04 17:10:55 +02:00
Joakim Frostegård 8effcb8d91 setup-bench-on-debian.sh: add rustc build flag for aquatic 2020-05-04 17:10:39 +02:00
Joakim Frostegård c8ce374736 Run cargo update 2020-04-28 13:25:59 +02:00
Joakim Frostegård 21ff7f7b9f README: in example config output, use actual defaults 2020-04-22 10:55:11 +02:00
Joakim Frostegård dab7e9618c README: add more usage information, other small adjustments 2020-04-21 18:39:26 +02:00
Joakim Frostegård 417b2207f4 README: add copyright statement 2020-04-20 17:23:34 +02:00
Joakim Frostegård 689decad09 Update README 2020-04-20 17:19:42 +02:00
Joakim Frostegård cf28fcbaff README: brag about performance 2020-04-20 17:05:44 +02:00
Joakim Frostegård 9130bb146d Update TODO 2020-04-20 17:03:38 +02:00
Joakim Frostegård 9e7c27a789 aquatic: use shorter thread names 2020-04-20 17:00:13 +02:00
Joakim Frostegård 352f571c42 Decide to use Apache 2.0 license, add file and update Cargo.toml's 2020-04-20 16:54:43 +02:00
Joakim Frostegård db09538037 Add cargo deny file deny.toml, check dependency licenses 2020-04-20 16:49:40 +02:00
Joakim Frostegård 8a347af5d6 Update TODO 2020-04-19 21:08:36 +02:00
Joakim Frostegård 1e29a422b0 Add usage section to README 2020-04-19 21:04:15 +02:00
Joakim Frostegård 623f43f202 Add load test pdf, remove load test details from README 2020-04-19 20:58:05 +02:00
Joakim Frostegård 4f21a90bb8 Improve looks of README 2020-04-19 19:31:37 +02:00
Joakim Frostegård 44a58d4946 Add benchmarks to README; update TODO 2020-04-19 19:27:20 +02:00
Joakim Frostegård 61841fffc3 Update TODO 2020-04-19 12:06:06 +02:00
Joakim Frostegård a8e27f0d74 load test: fix report bug 2020-04-19 11:00:43 +02:00
Joakim Frostegård ec93760304 Update TODO 2020-04-19 10:39:52 +02:00
Joakim Frostegård 88feb49c3d aquatic_bench: fix progress bar min width for request type info 2020-04-19 10:38:59 +02:00
Joakim Frostegård 7ba61ee6b7 aquatic: improve comment for NetworkConfig.socket_recv_buffer_size 2020-04-19 10:34:01 +02:00
Joakim Frostegård d63d8e14f4 README: improve tone in trivia section 2020-04-19 10:32:47 +02:00
Joakim Frostegård b77af78483 Add scripts for setting up benchmarks on linux 2020-04-19 10:31:33 +02:00
Joakim Frostegård f6ed47fec7 add aquatic_load_test for benchmarking aquatic over the network 2020-04-19 10:21:12 +02:00
Joakim Frostegård eb3ba6a2ce Update TODO 2020-04-14 22:05:20 +02:00
Joakim Frostegård 4127cbc7c9 aquatic: handlers: minor syntax and comment improvements 2020-04-14 20:13:12 +02:00
Joakim Frostegård 6fca5cd9d5 aquatic: config: resort to default values for keys not present in file 2020-04-14 17:45:35 +02:00
Joakim Frostegård 57c5d8314f Update TODO 2020-04-14 16:25:47 +02:00
Joakim Frostegård f0ec858bef socket workers: add Vec for requests (send together) and responses
Local response vector is used for error responses
2020-04-13 17:13:03 +02:00
Joakim Frostegård 6950726b3c aquatic: actually send error responses from parsing 2020-04-13 16:52:05 +02:00
Joakim Frostegård fbeade0ca2 Update README and TODO 2020-04-13 14:41:40 +02:00