Commit graph

175 commits

Author SHA1 Message Date
Joakim Frostegård
6136184890 aquatic_ws: network: handle network errors better 2020-05-11 14:36:47 +02:00
Joakim Frostegård
656b0da3c6 aquatic_ws: use fn handle_handshake_result in one more location 2020-05-11 14:29:27 +02:00
Joakim Frostegård
583d323c7f aquatic_ws: create fn handle_handshake_result 2020-05-11 14:25:35 +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
e4bb851c10 aquatic_ws: in listener, remove previous connection if it exists 2020-05-11 14:04:13 +02:00
Joakim Frostegård
0ec73d6cea aquatic_ws: network: ConnectionMap: use Token as key 2020-05-11 13:55:28 +02:00
Joakim Frostegård
a85a72ff66 WIP: aquatic_ws: network: improve connection map & token code 2020-05-11 13:45:17 +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
75c8ccd523 WIP: try to get mio + tungstenite working 2020-05-10 15:25:22 +02:00
Joakim Frostegård
806ac5b184 aquatic_ws protocol: scrape request: add serde rename for info_hashes 2020-05-10 12:10:58 +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
9509c9125f aquatic_ws: add custom deserializer for 20 ascii byte strings 2020-05-09 13:28:01 +02:00
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
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