Commit graph

12 commits

Author SHA1 Message Date
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
cb66364fa5 aquatic_ws: save peer even if AnnounceRequest.bytes_left is None 2020-05-15 16:02:49 +02:00
Joakim Frostegård
6c26331ffb aquatic_ws: add inline markers to functions that will probably be hot 2020-05-14 00:25:31 +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
e76b54e697 aquatic_ws: twenty byte serde: improve comment 2020-05-12 12:24:50 +02:00
Joakim Frostegård
7155f493d9 aquatic_ws: add serialization for 20-byte structures 2020-05-12 00:22:45 +02:00
Joakim Frostegård
9030944c02 aquatic_ws: deserialize 20 byte strings: improve code 2020-05-11 23:35:45 +02:00
Joakim Frostegård
18c4a51b74 aquatic_ws: use [u8; 20] for info hash etc, fix deserialization 2020-05-11 23:20:58 +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
003e5f2df9 WIP: aquatic_ws: rewrite network code, announce working somewhat 2020-05-10 20:24:04 +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