Commit Graph

870 Commits

Author SHA1 Message Date
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
Lucas Clemente
5a00fd89f6 simplify stream now that the frame sorter handles gaps properly 2016-08-02 11:34:12 +02:00
Lucas Clemente
348c5ae8e8 minor readme updates 2016-08-02 10:44:12 +02:00
Lucas Clemente
41ce637f53 update go to 1.7rc4 for CIs 2016-08-02 10:31:18 +02:00
Lucas Clemente
c9fb516efc set proxy tests to pending
see #238
2016-08-02 10:10:41 +02:00
Lucas Clemente
eb8dc31930 remove unneeded TagVER from SCFG 2016-08-02 10:03:23 +02:00
Marten Seemann
af3f69c0f1 always delete packets from packetHistory when receiving a StopWaiting
in new AckHandler

fixes #239
2016-08-02 13:38:13 +07:00
Marten Seemann
955234487b delete receivedTimes when receiving a StopWaiting in new AckHandler
ref #239
2016-08-02 12:13:41 +07:00
Lucas Clemente
ed15c18387 disable chacha20 build until we have solved the dependency situation 2016-08-01 16:28:22 +02:00
Lucas Clemente
8a08171322 move nonce generation to separate file 2016-08-01 16:27:38 +02:00
Lucas Clemente
8a9f5f9833 fix receive flow control windows diverging 2016-08-01 15:44:08 +02:00
Marten Seemann
0d8cd978a7 add an integration test with random RTTs
fixes #233
2016-08-01 16:06:15 +07:00
Marten Seemann
e35276b17e implement a RTTGenerator for generating random RTTs for the UDP Proxy
ref #233
2016-08-01 14:22:07 +07:00
Marten Seemann
aaeedafc21 move UDP Proxy to subpackage in integration tests 2016-08-01 14:12:20 +07:00
Marten Seemann
e8a2c497e9 update StopWaitings when queueing retransmissions
fixes #231
2016-07-30 15:15:51 +07:00
Marten Seemann
6a34b9bdf0 remove unused member from PublicHeader 2016-07-30 14:38:25 +07:00
Marten Seemann
71243ccccb don't send the same StopWaitingFrame twice
fixes #229
2016-07-30 14:15:45 +07:00
Lucas Clemente
b7d2a76811 Merge pull request #230 from lucas-clemente/drop-30-31
Drop support for versions 30 and 31
2016-07-29 15:42:52 +02:00