Commit Graph

37 Commits

Author SHA1 Message Date
xenia d921fcf556 Add comments 2020-03-14 18:47:25 -04:00
xenia c1edb85562 Remove backtrace support 2020-03-14 17:59:11 -04:00
xenia bc3420d520 Fix rtt and drop estimation to be more conservative 2020-03-14 17:48:57 -04:00
xenia e5b8d8f8ae Estimate rtt and drop rate for fun and profit 2020-03-14 17:18:14 -04:00
Milo Turner f6cddca534 refactor 2020-03-14 15:51:49 -04:00
Milo Turner c37b767cb9 quit on file completed 2020-03-14 15:41:55 -04:00
Milo Turner 6be8f77a1b rotate retransmitting packets 2020-03-14 15:06:22 -04:00
Milo Turner b5b2cd44df dont use hashmap 2020-03-14 15:06:22 -04:00
Milo Turner 2e6c441194 rustfmt 2020-03-14 15:06:22 -04:00
xenia ee3db94155 Comments, add grade script 2020-03-13 23:42:16 -04:00
xenia 269bb8b104 Integrate hex encoder/decoder with hptp protocol 2020-03-13 23:27:50 -04:00
Milo Turner 954e25b055 keep multiple un-ack'd packets in flight 2020-03-12 18:13:51 -04:00
Milo Turner 4fd8a45689 send acks on timeout 2020-03-12 18:13:49 -04:00
Milo Turner f858cbc398 segment data in its own type called SegData; handles EOF (badly) 2020-03-11 13:14:55 -04:00
Milo Turner 847d327d58 hmm 2020-03-10 20:58:14 -04:00
Milo Turner 3820b28964 rename SegmentStore => SegmentSource 2020-03-10 20:46:02 -04:00
Milo Turner 924e7d28b3 receive ACKs 2020-03-10 18:35:54 -04:00
Milo Turner 634389125d hptp-send "receives ACKs", but doesn't act on them 2020-03-10 17:49:43 -04:00
Milo Turner dfd33acf1e segment store 2020-03-10 17:46:10 -04:00
Milo Turner dd6c4ff088 *very* primitive segment-index ack's 2020-03-10 12:01:44 -04:00
Milo Turner 5dcda7aec3 put constants in hptp::seg module 2020-03-09 17:34:37 -04:00
Milo Turner bb6f534626 let the kernel pick my UDP ports 2020-03-09 17:18:08 -04:00
Milo Turner 4ad767e5c4 begin fleshing out package types 2020-03-09 16:25:25 -04:00
Milo Turner 6652ddb3d1 separate types for upload/download messages 2020-03-09 14:15:27 -04:00
Milo Turner 9553c25b26 write hptp-send more like a state machine 2020-03-09 14:15:17 -04:00
Milo Turner ca8a1b6884 implement other log functions and use them 2020-03-09 11:59:09 -04:00
Milo Turner ebd3c8333e dumb simple Ack messages and peer error handling 2020-03-09 11:33:19 -04:00
Milo Turner 6ace49cc88 put some important constants in the 'msg' module 2020-03-09 10:48:40 -04:00
Milo Turner 204aa4998f unified "peer" type for upload & download 2020-03-09 10:46:37 -04:00
Milo Turner a372532e96 peer / msg abstractions 2020-03-09 01:23:29 -04:00
Milo Turner 31ec42bf3a generics!! 2020-03-09 00:18:50 -04:00
Milo Turner d35d4ee0c1 upload/download from stdin/stdout 2020-03-08 23:17:33 -04:00
Milo Turner 3118726d81 send a lot of hello worlds 2020-03-08 01:29:23 -05:00
Milo Turner ff97bcc18c send hello world to the specified host 2020-03-07 23:55:40 -05:00
Milo Turner 9acf848116 hptp-send is becoming more webscale 2020-03-07 21:02:34 -05:00
Milo Turner 03eff314a7 i got send/recv mixed up 2020-03-07 15:41:47 -05:00
Milo Turner 577b7b0084 hello world 2020-02-21 16:51:19 -05:00