Commit Graph

1249 Commits

Author SHA1 Message Date
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
Lucas Clemente
5cf574475b increase shutdown timeout again 2016-08-05 11:50:08 +02:00
Lucas Clemente
f7801f095a panic when trying to store a wrong-sized buffer in the buffer pool 2016-08-05 11:33:27 +02:00
Lucas Clemente
095f32ec53 fix flaky drop tests by working around the div-nonce type byte issue
hopefully fixes #243
2016-08-05 11:33:27 +02:00
Lucas Clemente
62b06a003c fix a race condition in stream.Write 2016-08-05 11:33:19 +02:00
Lucas Clemente
f5315af4db fix packet unpacker in-place encryption 2016-08-05 11:33:15 +02:00
Marten Seemann
3fa0c12954 fix another flaky proxy test
fixes #255
2016-08-05 11:18:54 +07:00
Lucas Clemente
7d97bc22ec increase legacy highestInOrderObserved properly with reordering
fixes #237
2016-08-04 23:00:32 +02:00
Lucas Clemente
29a02c01cb increase docker shutdown timeout 2016-08-04 22:31:54 +02:00
Lucas Clemente
ba3b293811 don't NACK already retransmitted packets in v34
ref #243, #248, #251
2016-08-04 22:24:43 +02:00
Marten Seemann
61454ac85f fix flaky proxy tests
fixes #250
2016-08-05 00:44:47 +07:00
Marten Seemann
99d4e36a56 also make ParsePublicHeader public 2016-08-05 00:12:08 +07:00
Marten Seemann
df660bdbc5 Merge pull request #252 from lucas-clemente/chrome-download-test
Add an integration test that tests a binary download with Chrome
2016-08-04 16:21:57 +07:00
Lucas Clemente
f4efe43498 use docker exec instead of mounting to work around a travis issue 2016-08-04 11:04:31 +02:00
Marten Seemann
251c0eed8f add an integration test downloading a small file with Chrome 2016-08-04 11:04:31 +02:00
Marten Seemann
8b845fada9 make PublicHeader public 2016-08-04 15:45:11 +07:00
Marten Seemann
471c5d5a33 update go to 1.7rc5 for CIs 2016-08-04 12:13:15 +07:00