Commit Graph

6048 Commits

Author SHA1 Message Date
Lucas Clemente
8cb546d3eb temporary workaround for server handing when session chan is full
#35
2016-04-29 16:50:39 +02:00
Lucas Clemente
480d339f9a implement public reset sending in session
fixes #14, #33
2016-04-29 16:50:09 +02:00
Lucas Clemente
1e8d1453a8 implement public reset packet writing 2016-04-29 16:12:17 +02:00
Lucas Clemente
a38735f8fc improve debug log 2016-04-29 12:35:18 +02:00
Lucas Clemente
64b5567eaa calculate RTT in session
fixes #32
2016-04-29 12:19:07 +02:00
Lucas Clemente
2878e47317 use time.Duration as delay time type in ackframe 2016-04-29 12:18:35 +02:00
Lucas Clemente
3a18452a93 add gitignore 2016-04-29 12:04:34 +02:00
Lucas Clemente
d608a232e6 add very simple dockerfile for example server 2016-04-29 12:04:34 +02:00
Marten Seemann
74f7576391 implement a StopWaitingManager
fixes #30
2016-04-29 16:58:30 +07:00
Lucas Clemente
88a82be2fa fix http2 error handling 2016-04-29 11:53:15 +02:00
Lucas Clemente
5dddd9303f implement proper http request header handling
fixes #26
2016-04-29 11:49:46 +02:00
Lucas Clemente
42a1de6ba8 congestion interface cosmetics 2016-04-28 22:30:57 +02:00
Lucas Clemente
1535663fc5 add bytes-in-flight calculation to SentPacketHandler 2016-04-28 22:30:03 +02:00
Lucas Clemente
34b2e5129c move congestion clock to new file and implement default clock 2016-04-28 21:53:47 +02:00
Lucas Clemente
ac1affb940 make SentPacketHandler compute the delta between sent and ack time 2016-04-28 18:52:12 +02:00
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