Commit graph

17 commits

Author SHA1 Message Date
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
2d56ac7c21 aquaticc ws: handle_announce_requests: add #[inline] to helper fn 2020-05-12 12:29:05 +02:00
Joakim Frostegård
499c04d621 aquatic_ws: derive Copy on twenty byte structures, avoid clones 2020-05-12 12:26:49 +02:00
Joakim Frostegård
5c83af9f88 Move some code from aquatic_udp into aquatic_common 2020-05-11 17:06:37 +02:00
Joakim Frostegård
1b8d74e26d rename aquatic to aquatic_udp, same for bench and load test crates 2020-05-11 16:55:46 +02:00
Joakim Frostegård
f1a20b0c8c aquatic_ws: add some fixme comments, update ValidUntil time 2020-05-11 16:22:30 +02:00
Joakim Frostegård
b76f8cdebc aquatic_ws: shorten field names in ConnectionMeta, PeerConnection 2020-05-11 16:19:40 +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
003e5f2df9 WIP: aquatic_ws: rewrite network code, announce working somewhat 2020-05-10 20:24:04 +02:00
Joakim Frostegård
460a778d0d aquatic_ws: protocol: add info hash vector parsing; refactor 2020-05-09 15:31:40 +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
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
cf75a07a7e WIP: aquatic_ws: start work on data structures, data flow 2020-05-07 16:49:28 +02:00