Commit graph

25 commits

Author SHA1 Message Date
Joakim Frostegård
f28abbb7f6 aquatic_http: fix issue with incorrect parsing of info_hash, peer_id 2020-07-03 13:06:09 +02:00
Joakim Frostegård
136a79ce8d aquatic_http: use flexible-sized buffer for request reading 2020-07-03 11:13:55 +02:00
Joakim Frostegård
3a8e5a3abf aquatic_http: update 'valid_until' for established connections 2020-07-03 10:16:27 +02:00
Joakim Frostegård
1dc2f44d9c restructure aquatic_common_tcp, move more into it from aquatic_http 2020-07-03 00:23:19 +02:00
Joakim Frostegård
f3dcc8762e Update TODO; minor fixes to aquatic_http and aquatic_common_tcp 2020-07-02 23:32:48 +02:00
Joakim Frostegård
7bc47ab93f aquatic_http: microoptimize EstablishedConnection 2020-07-02 22:56:24 +02:00
Joakim Frostegård
fb6caf7343 aquatic_http: prococol module: parse Request from path 2020-07-02 22:53:03 +02:00
Joakim Frostegård
d5b82bcf70 aquatic_http: simplify tls handshake code further 2020-07-02 22:43:54 +02:00
Joakim Frostegård
ccfa03f6cc aquatic_http: simplify network logic 2020-07-02 22:14:52 +02:00
Joakim Frostegård
b43eeb4d65 aquatic_http network code: improve comments 2020-07-02 21:23:37 +02:00
Joakim Frostegård
f73910934b aquatic_http: keep connection after sending response; other fixes 2020-07-02 21:14:56 +02:00
Joakim Frostegård
b86787ef20 move back SocketConfig to aquatic_http 2020-07-02 17:06:34 +02:00
Joakim Frostegård
82378e71f6 Move things to aquatic_common_tcp 2020-07-02 16:54:27 +02:00
Joakim Frostegård
720596dfb4 move more things from aquatic_http to aquatic_common_tcp 2020-07-02 16:47:33 +02:00
Joakim Frostegård
2e53a2adc1 add aquatic_common_tcp crate, move common functionality there 2020-07-02 16:34:36 +02:00
Joakim Frostegård
1eaf2a0351 aquatic_http: AnnounceRequest.compact: default to true 2020-07-02 15:58:23 +02:00
Joakim Frostegård
ff4fcc163d aquatic_http: deserialize AnnounceRequest.compact to bool 2020-07-02 15:51:45 +02:00
Joakim Frostegård
6fc4b693cd aquatic_http: clean up / move around code; update TODO 2020-07-02 15:34:56 +02:00
Joakim Frostegård
c8de9857f8 aquatic_http: check info_hash and peer_id len when deserializing 2020-07-02 15:29:01 +02:00
Joakim Frostegård
5e7f8bea20 aquatic_http: add compact response peer repr, not tested 2020-07-02 14:37:47 +02:00
Joakim Frostegård
d2e950b431 aquatic_http: use untagged enum for Response; update TODO 2020-07-02 13:58:32 +02:00
Joakim Frostegård
6b1f11635b aquatic_http: bencoded response with content-length 2020-07-02 13:47:37 +02:00
Joakim Frostegård
a487347a0d aquatic_http: continue implementation work 2020-07-02 13:21:39 +02:00
Joakim Frostegård
76079cf66e WIP: more work on aquatic_http 2020-07-02 00:39:50 +02:00
Joakim Frostegård
404e528616 WIP: start work on http tracker 2020-07-01 18:56:19 +02:00