Commit graph

48 commits

Author SHA1 Message Date
Lucas Clemente
b032a07f70 remove ackhandlerlegacy and frames.AckFrameLegacy 2016-09-01 20:26:31 +02:00
Lucas Clemente
126db938d0 fix some linter warnings 2016-08-23 12:24:33 +02:00
Marten Seemann
8a7ab6d6cd add a function to check if an ACK frame acks a certain packet number 2016-08-11 11:03:45 +02:00
Marten Seemann
516500e156 wrap legacy AckFrame in new AckFrame 2016-07-26 12:05:31 +07:00
Marten Seemann
fb172297eb rename AckFrameNew to AckFrame 2016-07-26 10:42:25 +07:00
Marten Seemann
288cb9e143 rename AckFrame to AckFrameLegacy 2016-06-21 19:51:26 +07:00
Marten Seemann
c681fd1469 don't panic if an ACK frame has too many NACK ranges 2016-06-20 14:48:21 +07:00
Marten Seemann
433920fc15 calculate correct MinLength of an ACK frame with a contiguous NACK range
fixes #183
2016-06-20 14:43:00 +07:00
Marten Seemann
5651a7cfc1 pass QUIC version number to Frame.MinLength
ref #181
2016-06-19 13:43:58 +07:00
Marten Seemann
c4c7b78288 correctly parse ACK frames with multiple NACK ranges for version 31 2016-06-06 20:23:41 +07:00
Lucas Clemente
240946dfde replace version number literals with constants to make grepping easier 2016-06-03 11:09:48 +02:00
Lucas Clemente
7a97f34fac don't panic 🤓
fixes #93
2016-05-18 18:29:42 +02:00
Lucas Clemente
1359c0e49c fix a linter warning 2016-05-17 12:56:33 +02:00
Marten Seemann
565f4c9fda support largest observed packet number missing in ACK frames
fixes #63
2016-05-16 21:50:58 +07:00
Marten Seemann
0df44e46e5 shorten LargestObserved in ACK frames
fixes #82
2016-05-12 20:01:23 +07:00
Marten Seemann
3683763dc0 send DelayTime in ACK frames
fixes #81
2016-05-12 17:43:48 +07:00
Marten Seemann
2f6e2c1201 remove PacketNumber from Frame interface Write method 2016-05-12 16:22:08 +07:00
Marten Seemann
33c0f3a5df set LeastUnackedDelta length in StopWaitingFrame
fixes #79
2016-05-12 13:05:42 +07:00
Marten Seemann
aaf4b0ae9e remove PacketNumberLen from Frame interface Write method 2016-05-12 11:22:31 +07:00
Lucas Clemente
8b1009d482 fix ack frame length calculation for version <32 2016-05-11 17:09:39 +02:00
Marten Seemann
e345270e84 use ByteCount type for Frame, Packet and PublicHeader lengths 2016-05-10 23:40:22 +07:00
Lucas Clemente
a3d77bae33 add support for FEC acks in version 31
fixes #68
2016-05-09 19:57:26 +02:00
Lucas Clemente
14b16a429c add version number to Frame.Write 2016-05-09 19:50:15 +02:00
Marten Seemann
e8ba73f275 introduce PacketNumberLen type 2016-05-09 17:31:12 +07:00
Lucas Clemente
924bf4a999 don't read timestamps in truncated acks
fixes #59
2016-05-08 14:24:35 +02:00
Lucas Clemente
4167442032 add support for receiving truncated acks
fixes #57
2016-05-06 21:06:29 +02:00
Marten Seemann
ad467ade58 fix several linter warnings and misspellings 2016-05-02 16:33:32 +07:00
Marten Seemann
8a3b667c38 better debug output for retransmissions 2016-04-30 10:57:10 +07:00
Lucas Clemente
2878e47317 use time.Duration as delay time type in ackframe 2016-04-29 12:18:35 +02:00
Lucas Clemente
c07ad6ab76 implement reading and writing of ACK delay time 2016-04-28 18:08:43 +02:00
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)