Commit Graph

29 Commits

Author SHA1 Message Date
Marten Seemann
2c2ca2e670 Merge pull request #764 from lucas-clemente/fix-761
speed up the benchmark test by fetching random data only once
2017-07-25 15:16:21 +07:00
Marten Seemann
b11d77e0df speed up the benchmark test by fetching random data only once
Reading from math.rand takes a long time when running the benchmark
with the race detector. By transferring the same data in every test, we
only have to do that once.
2017-07-25 11:42:01 +07:00
Marten Seemann
ce2333acd6 fix flaky benchmark test on CIs
The server now waits until the client has completed the handshake. This
way, we should avoid sending too many undecryptable packets.
2017-07-25 08:39:32 +07:00
Marten Seemann
a851aaacda remove the tls.Config from the quic.Config
The tls.Config now is a separate parameter to all Listen and Dial
functions in the quic package.
2017-07-03 22:12:09 +02:00
Marten Seemann
30a0211243 implement a Listener.Accept() method 2017-05-15 20:37:29 +08:00
Marten Seemann
1674087604 rewrite the benchmark test 2017-04-10 15:57:57 +07:00
Marten Seemann
34b688b3b9 add a LocalAddr to the Session 2017-03-10 00:07:27 +07:00
Marten Seemann
b5c8c11c0c switch to forward-secure encryption after sending the SHLO 2017-03-01 14:11:25 +07:00
Marten Seemann
820eb2e6ee call the ConnStateCallback in the server for encryption level changes
ref #439
2017-02-24 08:42:49 +07:00
Marten Seemann
d61c0eb85d add a Write and a Close method to the connection interface 2017-02-22 23:03:08 +07:00
Marten Seemann
824f122a79 remove unused StreamCallback 2017-02-22 23:03:08 +07:00
Marten Seemann
a96211f724 create Session interface 2017-02-22 23:03:07 +07:00
Marten Seemann
5b42675da2 use a net.PacketConn instead of a net.UDPConn in Server and Session 2017-02-22 23:03:07 +07:00
Marten Seemann
56a287ab9c correcty read PublicHeader of PublicReset packets 2017-01-14 18:45:15 +07:00
Marten Seemann
2b7c67d297 create handshake.CryptoSetup interface 2017-01-14 18:45:14 +07:00
Marten Seemann
ebc053dbe0 create interface for the ConnectionParametersManager 2016-12-08 18:39:14 +07:00
Lucas Clemente
81c8430adb disable bench tests on windows 2016-10-14 11:32:39 +02:00
Lucas Clemente
75e15e03f7 add a timeout for the benchmark test 2016-09-08 14:28:30 +02:00
Lucas Clemente
099545521f use *receivedPacket thoughout the session 2016-09-07 15:51:04 +02:00
Lucas Clemente
c0e043d931 improve benchmark tests again :) 2016-09-05 12:29:31 +02:00
Lucas Clemente
90fab5801e fix a memory leak in benchmark tests 2016-09-05 12:29:17 +02:00
Lucas Clemente
5b0a7f6ca3 Revert "improve benchmark test"
This reverts commit 934fc5b6a0.
2016-09-05 01:07:32 +02:00
Lucas Clemente
934fc5b6a0 improve benchmark test 2016-09-05 00:41:21 +02:00
Lucas Clemente
e6abc3917d re-enable benchmark tests 2016-08-17 15:27:08 +02:00
Lucas Clemente
8c75462520 use sequential packet ordering in benchmark tests
fix #262, fix #273
2016-08-17 15:25:56 +02:00
Lucas Clemente
8c5a3dabd6 set RemoteAddr in http request objects
fixes #266
2016-08-09 11:50:27 +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
2f94a44b24 set known flaky tests to pending
ref #262, #261
2016-08-06 15:00:16 +02:00
Lucas Clemente
c3a672541a add a first measurement test with two linked sessions
fixes #235
2016-08-05 15:37:04 +02:00