Commit Graph

915 Commits

Author SHA1 Message Date
Marten Seemann
b129d13adc detect skipped packet numbers in SentPacketHandler 2016-08-11 11:03:45 +02:00
Marten Seemann
c7e3b34e2d implement a PacketNumberGenerator
ref #186
2016-08-11 11:03:45 +02:00
Marten Seemann
1348e21572 fix codecov config 2016-08-11 11:02:28 +02:00
Marten Seemann
c2e0717c89 remove unused error from SentPacketHandler 2016-08-11 15:58:23 +07:00
Lucas Clemente
081807215a fix flaky h2quic tests
fixes #272
2016-08-10 18:47:25 +02:00
Lucas Clemente
805c21cb77 use LeastUnacked in packet number derivation
fixes #271
2016-08-10 13:32:36 +02:00
Marten Seemann
5444c196b3 Merge pull request #269 from lucas-clemente/ackhandler-linkedlist
use linked list to store sent packets in new AckHandler

fixes #246
2016-08-10 15:37:55 +07:00
Marten Seemann
fad5949b05 check that sent packet numbers always increase in new AckHandler 2016-08-10 08:45:01 +07:00
Marten Seemann
cba965cc0c use linked list to store sent packets in new AckHandler 2016-08-10 08:44:51 +07:00
Lucas Clemente
fe531dd65e cache compressed certificate chains
fixes #227
2016-08-09 14:34:49 +02:00
Lucas Clemente
e68a220701 update CIs to 1.7rc6 and additionally use tip for travis 2016-08-09 13:09:39 +02:00
Lucas Clemente
4eb9077f1b simplify crypto/rand reading 2016-08-09 13:08:42 +02:00
Lucas Clemente
8c5a3dabd6 set RemoteAddr in http request objects
fixes #266
2016-08-09 11:50:27 +02:00
Lucas Clemente
d8f53d4cf7 Merge pull request #265 from lucas-clemente/streams-map
Remove the streams mutex from session
2016-08-09 10:34:57 +02:00
Lucas Clemente
aac155a49e remove test for even stream IDs
While the spec demands that clients don't open streams with even IDs, it
doesn't require validation and there are no security implications.
2016-08-08 20:51:57 +02:00
Lucas Clemente
3432a632f0 remove incorrect RST test 2016-08-08 20:51:57 +02:00
Lucas Clemente
02c28c3a59 remove unneeded streamsMap.{Put,Get}Stream 2016-08-08 20:51:57 +02:00
Lucas Clemente
a1e2977f50 handle stream creation in streamsMap, remove streams mutex from session 2016-08-08 20:51:57 +02:00
Lucas Clemente
65663c3314 implement GetOrOpenStream in streamsMap 2016-08-08 20:51:57 +02:00
Lucas Clemente
77580dbf96 change codecov settings so it doesn't break PR builds 2016-08-08 20:51:33 +02:00
Lucas Clemente
49a0a7d60c improve stream_frame tests 2016-08-08 11:07:36 +02:00
Marten Seemann
50d6ae205d change order of parameters in Stream constructor 2016-08-07 13:12:10 +07:00
Marten Seemann
143c3ea16b remove unused connectionParametersManager from Stream 2016-08-07 13:09:44 +07:00
Marten Seemann
60e38aef43 Revert "remove unneeded streamsMutex from Session"
This reverts commit 100f04f242.
2016-08-07 12:07:05 +07:00
Lucas Clemente
125842d80d simplify key derivation 2016-08-06 17:54:11 +02:00
Lucas Clemente
0696cd51bf add a buffer pool test for wrong-sized puts 2016-08-06 17:45:32 +02:00
Lucas Clemente
3e42d1da0f fix flaky h2quic tests
fixes #260
2016-08-06 17:27:16 +02:00
Lucas Clemente
71a8af827b improve overlapping stream data errors
ref #259
2016-08-06 17:08:23 +02:00
Lucas Clemente
2f94a44b24 set known flaky tests to pending
ref #262, #261
2016-08-06 15:00:16 +02:00
Lucas Clemente
07e7a85ae1 enable info logging during drop tests
ref #261
2016-08-06 14:46:11 +02:00
Lucas Clemente
c8bb818e4d fix some typos 2016-08-06 14:46:09 +02:00
Lucas Clemente
8664ee44b8 run gofmt -s on ack_frame_test.go 2016-08-06 14:45:11 +02:00
Lucas Clemente
2097509d16 fix go vet warning 2016-08-06 14:45:11 +02:00
Marten Seemann
100f04f242 remove unneeded streamsMutex from Session 2016-08-06 17:45:21 +07:00
Marten Seemann
71dcad29b5 use round-robin scheduling in StreamFramer
fixes #207
2016-08-06 17:01:28 +07:00
Marten Seemann
8e7215aaeb only increase round-robin index when lambda returns true 2016-08-06 17:00:33 +07:00
Marten Seemann
1a30313ace only iterate over open Streams in StreamsMap
ref #256
2016-08-06 14:41:47 +07:00
Marten Seemann
b0d116ad5a implement a round-robin iterate function in StreamsMap
ref #207
2016-08-06 14:13:52 +07:00
Marten Seemann
64b0e03234 store StreamIDs of open Streams in a slice in the StreamsMap
ref #207
2016-08-05 23:38:43 +07:00
Lucas Clemente
6e34de17f3 increase integration test data to 500 kB
fixes #251
2016-08-05 15:44:48 +02:00
Lucas Clemente
c3a672541a add a first measurement test with two linked sessions
fixes #235
2016-08-05 15:37:04 +02:00
Marten Seemann
1f25ff5569 more explicit tests for counting the number of streams in StreamsMap 2016-08-05 20:33:35 +07:00
Lucas Clemente
bf04a430ba improve debug messages 2016-08-05 15:07:13 +02:00
Lucas Clemente
3b5d10b1f2 properly increase LargestInOrderAcked past retransmitted packets 2016-08-05 15:07:13 +02:00
Marten Seemann
46e8d26680 Merge pull request #257 from lucas-clemente/streamsmap
implement a StreamsMap and use it in Session and StreamFramer
2016-08-05 20:01:54 +07:00
Marten Seemann
a796877b94 use StreamsMap in Session and StreamFramer
fixes #208
2016-08-05 19:30:28 +07:00
Marten Seemann
0cc42b8847 add an Iterate function to the StreamsMap 2016-08-05 19:27:06 +07:00
Marten Seemann
c3dcb649c7 return bool if stream exists in StreamsMap GetStream 2016-08-05 19:27:06 +07:00
Lucas Clemente
b3e76770de add a streamsMap class 2016-08-05 19:27:06 +07:00
Lucas Clemente
716937d1c2 fix failing proxy test 2016-08-05 11:51:51 +02:00