Commit graph

18 commits

Author SHA1 Message Date
Marten Seemann
2c95141ee1 add Len() and ContainsPacketNumber() to NackRange 2016-04-27 16:04:50 +07:00
Marten Seemann
a4debcac71 implement contiguous NACK frame writing 2016-04-27 15:39:07 +07:00
Marten Seemann
936d34f875 implement contiguous NACK frame parsing 2016-04-27 13:57:28 +07:00
Marten Seemann
f204b088a6 rename frame.MaxLength() to frame.MinLength() 2016-04-26 17:02:00 +07:00
Marten Seemann
f2eafb7179 pass packet number and packet number length to frames.Write 2016-04-25 11:34:18 +07:00
Marten Seemann
9cc161e2f4 validate NACK ranges when receiving an AckFrame 2016-04-22 14:10:22 +07:00
Marten Seemann
e5559d37d3 store the end of the NACK range instead of its length 2016-04-21 18:42:52 +07:00
Marten Seemann
9385aac35c ack ACK handling for ACKs without NACKs 2016-04-21 16:36:47 +07:00
Lucas Clemente
6be70bc29c add Frame.MaxLength and implement it for currently needed frames 2016-04-20 15:06:10 +02:00
Marten Seemann
cfb74dbf06 calculate highest in-order ACKed packet from an ACK frame 2016-04-20 19:37:20 +07:00
Lucas Clemente
650e9d38d3 move nackrange to frames 2016-04-20 12:15:03 +02:00
Marten Seemann
c455ae0a05 add support for NACK ranges when writing ACK frames 2016-04-20 11:57:09 +07:00
Marten Seemann
b084faff88 fix reading of multiple-byte missingPacketSequenceNumberDeltas in AckFrame parsing 2016-04-20 11:50:35 +07:00
Marten Seemann
daa0fe86bd replace AckFrame.HasNack by method 2016-04-20 11:45:00 +07:00
Marten Seemann
5381bfe220 implement NACK range parsing in ACK frames 2016-04-19 20:40:41 +07:00
Lucas Clemente
673f91ee63 accept NACKs, WINDOW_UPDATEs and BLOCKEDs, but don't handle them yet 2016-04-18 21:07:00 +02:00
Marten Seemann
922a2975e8 use PacketNumber type in ACK frame parsing, fix linter warnings 2016-04-17 13:58:38 +07:00
Marten Seemann
79ba43bbdb move all frames to separate package 2016-04-16 18:34:16 +07:00
Renamed from ack_frame.go (Browse further)