Commit Graph

887 Commits

Author SHA1 Message Date
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
Lucas Clemente
328b02d0a4 remove unused error from session 2016-08-03 09:19:06 +02:00
Marten Seemann
19f627af6f fix NACKing of packets below lowest ACK range in new SentPacketHandler
This did not cause an error, since the packet didn't exist in the
packetHistory. With this fix, it is more consistent and it saves one
loop iteration.
2016-08-03 13:13:32 +07:00
Marten Seemann
0c873d69ec fix lowestInreceivedTimes index in new ReceivedPacketHandler 2016-08-03 13:09:52 +07:00
Marten Seemann
336fe548d7 improve logging of legacy ACK frames 2016-08-03 11:49:19 +07:00
Lucas Clemente
33319766e5 remove timeout for stopping docker, add timeout for inttests aftersuite
hopefully fixes #244
2016-08-02 16:10:37 +02:00
Lucas Clemente
d6d6cfa1e4 fix codecov badge in readme 2016-08-02 14:20:03 +02:00
Marten Seemann
9ea81e80e8 fix flaky UDP Proxy tests
fixes #238
2016-08-02 18:56:22 +07:00
Marten Seemann
9b172fe303 fix session tests with version 33
fixes #242
2016-08-02 18:27:14 +07:00
Lucas Clemente
b9abc5b2a1 improve frames coverage and fix a small stream frame parsing bug
ref #241
2016-08-02 13:11:30 +02:00
Lucas Clemente
edc24ea795 delete unused ringbuffer class 2016-08-02 12:35:22 +02:00
Lucas Clemente
6868d70710 improve handshake package coverage
ref #241
2016-08-02 12:04:25 +02:00
Lucas Clemente
0e05534909 improve main package test coverage
ref #241
2016-08-02 11:49:25 +02:00