Commit Graph

283 Commits

Author SHA1 Message Date
Lucas Clemente
c07ad6ab76 implement reading and writing of ACK delay time 2016-04-28 18:08:43 +02:00
Lucas Clemente
a079b3e662 add -www option to example server 2016-04-28 17:00:58 +02:00
Lucas Clemente
8dea856cad fix flag parsing in example server 2016-04-28 16:37:49 +02:00
Lucas Clemente
9f79d4bf0a add commented cubic tests copied from chrome for unsupported experiments 2016-04-28 14:46:40 +02:00
Lucas Clemente
ea9d5dd884 add more cubic sender tests 2016-04-28 14:45:30 +02:00
Lucas Clemente
7f1e85a977 implement CubicSender.RetransmissionDelay 2016-04-28 14:32:48 +02:00
Lucas Clemente
f209e87135 add support for slow start large reduction to cubic sender 2016-04-28 14:22:46 +02:00
Lucas Clemente
1722fc17be implement cubic sender connection migration 2016-04-28 14:06:52 +02:00
Lucas Clemente
1164726cb1 add more cubic sender tests 2016-04-28 14:04:14 +02:00
Lucas Clemente
b4ffc67937 fix and add more cubic test cases 2016-04-28 14:04:14 +02:00
Marten Seemann
0a4f0e201a add command line option for certificate path 2016-04-28 18:43:59 +07:00
Marten Seemann
595311e255 use certPath and keyPath variables when setting up the server 2016-04-28 17:41:21 +07:00
Lucas Clemente
b6a2f72b29 implement more cubic sender tests 2016-04-28 12:03:55 +02:00
Marten Seemann
153ff598d9 add command line option which address to bind to 2016-04-28 16:24:43 +07:00
Lucas Clemente
f869be1eb1 implement cubic "exponential slow start" test 2016-04-28 10:34:27 +02:00
Lucas Clemente
2da6f1860e add congestion.Bandwidth 2016-04-28 10:33:58 +02:00
Lucas Clemente
f16d30a20c implement another CubicSender test 2016-04-27 18:17:55 +02:00
Lucas Clemente
991834c5bf change cubic to use PacketNumbers 2016-04-27 18:09:49 +02:00
Lucas Clemente
23b5c6264b fix rtt logging 2016-04-27 18:09:30 +02:00
Lucas Clemente
2b928ed116 add protocol.{Min,Max}ProtocolNumber 2016-04-27 18:09:19 +02:00
Lucas Clemente
85ca2a3245 add rtt stats 2016-04-27 17:20:55 +02:00
Marten Seemann
6a7f331269 implement a StreamFrame Queue to handle high priority StreamFrames for retransmission
fixes #21
2016-04-27 21:05:58 +07:00
Lucas Clemente
c641e24e8c add cubic_sender plus initial test 2016-04-27 15:11:56 +02:00
Marten Seemann
6eeccfd123 retransmit lost packets, send StopWaiting frames 2016-04-27 18:56:21 +07:00
Lucas Clemente
bd67f537c9 add support for receiving BLOCKED frames 2016-04-27 13:02:00 +02:00
Lucas Clemente
0d6642464d remove some debug messages 2016-04-27 12:52:06 +02:00
Lucas Clemente
607ab843d6 close session when crypto stream errors 2016-04-27 12:49:55 +02:00
Marten Seemann
2056960e07 only delete a Packet from history in SentPacketHandler once it has been ACKed 2016-04-27 17:19:54 +07: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
67a36870ea check for maximum packet size when packing control frames 2016-04-27 11:40:20 +07:00
Marten Seemann
160db13bdb close the connection on an MapAccess error in SentPacketHandler 2016-04-27 11:34:35 +07:00
Marten Seemann
3f6b228d07 fix splitting of StreamFrames in PacketPacker 2016-04-27 10:09:54 +07:00
Marten Seemann
e4fc732d37 only increase packet number in PacketPacker when actually sending a packet 2016-04-27 09:46:13 +07:00
Marten Seemann
6db8ea285a handle SentPacketHandler errors when sending packets 2016-04-27 09:33:52 +07:00
Lucas Clemente
729505738b add session tests 2016-04-26 22:11:27 +02:00
Lucas Clemente
c5197bf42e fix server test 2016-04-26 19:13:26 +02:00
Lucas Clemente
5d8293716e add includeStreamFrames option to PacketPacker 2016-04-26 19:04:42 +02:00
Lucas Clemente
270b2f0f99 stop session go-routine on Close() 2016-04-26 18:30:51 +02:00
Lucas Clemente
a5a06a25c2 remove udp references from session to simplify testing 2016-04-26 18:30:51 +02:00
Marten Seemann
8339f210cb handle control frames and Stream frames separately in PacketPacker 2016-04-26 23:30:43 +07:00
Marten Seemann
a962c63642 don't queue ACK frames 2016-04-26 22:46:39 +07:00
Marten Seemann
e27d3ea3f8 ReceivedPacketHandler only generates ACKs if packets were received after the last ACK 2016-04-26 22:38:10 +07:00
Lucas Clemente
43a16a8fce add session test for closing with errors 2016-04-26 16:49:11 +02:00
Lucas Clemente
df08f109e7 add support for reading and writing QUIC's ufloat16 2016-04-26 16:47:26 +02:00
Lucas Clemente
83df3be65e close streams when Session.Close() is called 2016-04-26 15:37:52 +02:00
Lucas Clemente
9fc874be53 add newline to crypto error messages 2016-04-26 15:37:52 +02:00
Marten Seemann
4659bf7acb store the payload of sent packets as a slice of Frames 2016-04-26 20:35:30 +07:00
Marten Seemann
eada642cc1 make PacketPacker assemble frames to pack into a Packet 2016-04-26 20:19:09 +07:00