Commit graph

296 commits

Author SHA1 Message Date
Joakim Frostegård
f3bdb6bc2a aquatic_ws: privilege dropping; cli_helpers: show error context 2020-05-23 17:02:52 +02:00
Joakim Frostegård
a596ee155a aquatic_ws: wait for and quit on socket bind errors in workers 2020-05-23 16:38:31 +02:00
Joakim Frostegård
078a8c2868 Update TODO 2020-05-23 15:47:11 +02:00
Joakim Frostegård
d4bcc14c82 aquatic_ws: add setting Config.ipv6_only 2020-05-23 15:40:56 +02:00
Joakim Frostegård
416d61a2b2 aquatic_ws: split torrent state by ipv4/ipv6 2020-05-23 15:15:01 +02:00
Joakim Frostegård
7430c23ccc aquatic_ws: add simple_logger for debugging, need better solution 2020-05-23 14:53:29 +02:00
Joakim Frostegård
0f6d6d4b21 aquatic_ws: use log crate for debug error messages 2020-05-23 14:24:26 +02:00
Joakim Frostegård
572aa632b6 aquatic_ws: don't handle connection closed same as other errors 2020-05-23 14:17:03 +02:00
Joakim Frostegård
ae92785484 Update TODO 2020-05-23 14:10:06 +02:00
Joakim Frostegård
526faa9aab cli_helpers: use anyhow in app fn; aquatic_ws: reorganize error handling 2020-05-23 14:05:50 +02:00
Joakim Frostegård
1efe6f96c5 Update TODO 2020-05-22 15:40:04 +02:00
Joakim Frostegård
0eae9a12cf Update TODO 2020-05-19 12:25:47 +02:00
Joakim Frostegård
b42ff9a23b aquatic_ws: remove DebugCallback and lots of debug output
Some error messages are still printed, though
2020-05-18 13:01:48 +02:00
Joakim Frostegård
cb0c299298 Update TODO 2020-05-17 21:26:44 +02:00
Joakim Frostegård
ea85f23ac7 Update TODO 2020-05-17 12:08:41 +02:00
Joakim Frostegård
885640a385 Update TODO 2020-05-15 16:08:04 +02:00
Joakim Frostegård
008d8b8eff Update TODO 2020-05-14 22:51:06 +02:00
Joakim Frostegård
3321f40697 Update TODO 2020-05-13 20:48:43 +02:00
Joakim Frostegård
7011a797ee Update TODO; clean up code 2020-05-13 19:40:49 +02:00
Joakim Frostegård
6d06a43db8 aquatic_ws: add setting for using tls; update TODO 2020-05-13 16:43:23 +02:00
Joakim Frostegård
300aa85cbb Update TODO 2020-05-13 16:05:38 +02:00
Joakim Frostegård
7e2f371007 aquatic_ws: simplify network code further 2020-05-13 15:14:11 +02:00
Joakim Frostegård
9c15a97975 Update TODO 2020-05-12 21:11:44 +02:00
Joakim Frostegård
289658815c Update TODO 2020-05-12 16:00:15 +02:00
Joakim Frostegård
7c9ecda53a aquatic_ws: clean torrent state periodically 2020-05-12 15:45:28 +02:00
Joakim Frostegård
de06931242 aquatic_ws: in remove_inactive_connections, run shrink_to_fit on map 2020-05-12 15:24:57 +02:00
Joakim Frostegård
e4bdfd06fb aquatic_ws: set so_reuseport on socket, with new create_listener fn 2020-05-12 15:23:25 +02:00
Joakim Frostegård
21048727db aquatic_ws: add Config, use in many places; use cli_helpers for cli
Also add mimalloc
2020-05-12 14:58:55 +02:00
Joakim Frostegård
0c8160e3d6 Update TODO: rename aquatic to aquatic_udp; add aquatic_ws TODOs 2020-05-12 12:33:14 +02:00
Joakim Frostegård
f614bab03d update TODO 2020-05-11 16:30:57 +02:00
Joakim Frostegård
ddef44fb91 Update TODO 2020-05-11 16:20:20 +02:00
Joakim Frostegård
da2d5986b9 aquatic_ws: check for "fake" peer_id's in announce requests 2020-05-11 16:07:51 +02:00
Joakim Frostegård
274799872f aquatic_ws: clean up; remove connection on IO error; update TODO 2020-05-11 14:13:58 +02:00
Joakim Frostegård
dcfc1c9854 Update TODO 2020-05-08 21:36:51 +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
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
9130bb146d Update TODO 2020-04-20 17:03:38 +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
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
ec93760304 Update TODO 2020-04-19 10:39:52 +02:00
Joakim Frostegård
eb3ba6a2ce Update TODO 2020-04-14 22:05:20 +02:00
Joakim Frostegård
57c5d8314f Update TODO 2020-04-14 16:25:47 +02:00
Joakim Frostegård
fbeade0ca2 Update README and TODO 2020-04-13 14:41:40 +02:00
Joakim Frostegård
6c4013ca55 Update TODO 2020-04-12 22:09:34 +02:00