Commit Graph

57 Commits

Author SHA1 Message Date
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 038fd9037a ooop 2020-03-11 13:53:50 -04:00
Milo Turner 4fb26866c2 oop 2020-03-11 13:49:26 -04:00
Milo Turner f858cbc398 segment data in its own type called SegData; handles EOF (badly) 2020-03-11 13:14:55 -04:00
xenia aefc4d73ab With a rust-toolchain file I think manual rustup is no longer necessary 2020-03-11 00:01:38 -04:00
xenia 7c384ed949 Delete useless file 2020-03-10 23:59:47 -04:00
xenia f035ab682b symlink 2020-03-10 23:57:53 -04:00
xenia e361aabe72 Fix perl issues 2020-03-10 23:53:51 -04:00
xenia 56fafc9dd5 Fix makefile 2020-03-10 23:32:08 -04:00
xenia dc2e851655 Create test environment 2020-03-10 23:21:47 -04:00
Milo Turner 847d327d58 hmm 2020-03-10 20:58:14 -04:00
Milo Turner f48846f325 segmentsink datastructure for hptp-recv 2020-03-10 20:56:42 -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 6b3d8acdf1 change ack msg to store as array 2020-03-10 18:34:55 -04:00
Milo Turner a37edf2112 fix leading zeros in timestamp formatting 2020-03-10 18:33:47 -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 86af734542 handle duplicate packets 2020-03-10 12:32:23 -04:00
Milo Turner dd6c4ff088 *very* primitive segment-index ack's 2020-03-10 12:01:44 -04:00
Milo Turner f0481e350d rename 2020-03-09 17:36:23 -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 87fd190378 don't create intermediate Vec's while serializing messages 2020-03-09 14:31:57 -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 39fc9a5a48 release build, create 3700xxx binaries 2020-03-09 12:47:45 -04:00
Milo Turner e687f03227 use 'chrono' for grabbing and printing timestamps in log 2020-03-09 12:23:19 -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 a569737ba2 don't worry about it ... 2020-03-09 11:12:04 -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 15b865a803 send data log message 2020-03-08 01:29:15 -05:00
Milo Turner ff97bcc18c send hello world to the specified host 2020-03-07 23:55:40 -05:00
Milo Turner 4a70ba8df7 bind on random ports 2020-03-07 23:50:41 -05:00
Milo Turner 778995ae15 unn w rap 2020-03-07 21:03:04 -05:00
Milo Turner 9acf848116 hptp-send is becoming more webscale 2020-03-07 21:02:34 -05:00
Milo Turner 28c779c843 backtrace 2020-03-07 20:47:43 -05:00
Milo Turner fa477593fa goodbye failure crate!! 2020-03-07 20:43:53 -05:00
Milo Turner 520938abb2 don't make the logger raise errors for christ sake 2020-03-07 20:28:34 -05:00
Milo Turner da55e83e3b tokio UDP port open in hptp-recv 2020-03-07 15:42:24 -05:00
Milo Turner 03eff314a7 i got send/recv mixed up 2020-03-07 15:41:47 -05:00
Milo Turner 078c026858 hptp logging infrastructure 2020-03-07 15:38:15 -05:00