Marten Seemann
9c09e84765
use IETF QUIC transport error codes
2019-03-06 13:43:18 +09:00
Marten Seemann
5ac7d7f750
Merge pull request #1803 from lucas-clemente/fix-racy-test-skipping
...
fix skipping of racy version negotiation integration test
2019-03-05 18:04:06 +09:00
Marten Seemann
b65bc7d4d8
add an integration test for dial errors
2019-03-05 16:22:53 +09:00
Marten Seemann
9ed1a2e3e1
add integration test that we return timeout errors after an idle timeout
2019-03-05 16:22:48 +09:00
Marten Seemann
ae6d237df8
fix skipping of racy version negotiation integration test
2019-03-02 18:33:48 +09:00
Marten Seemann
9bffce264f
don't run the version negotiation tests with race detector
2019-02-08 13:56:49 +08:00
Marten Seemann
3372fa794c
remove the error return value from Stream.CancelWrite
2019-01-24 16:00:12 +07:00
Marten Seemann
ca939df44e
remove the error return value from Stream.CancelRead
2019-01-24 16:00:11 +07:00
Marten Seemann
665d6d495e
add an integration tests where both sides of the stream are canceled
2019-01-24 09:13:02 +07:00
Marten Seemann
5447625e79
add an integration test for canceling the write side of streams
2019-01-24 09:11:38 +07:00
Marten Seemann
e03a204f68
disable failing HTTP integration test
...
See #1756 .
2019-01-23 21:56:24 +07:00
Marten Seemann
9f11a5450c
Merge pull request #1752 from lucas-clemente/fix-1618
...
cancel reading from the response stream when the response body is closed
2019-01-23 21:15:14 +07:00
Marten Seemann
1e09cc1ef4
add an integration test for canceling the read side of streams
2019-01-23 18:23:15 +07:00
Marten Seemann
05be874b11
cancel reading from the response stream when the response body is closed
2019-01-23 15:45:22 +07:00
Marten Seemann
2cb72ad098
Merge pull request #1710 from lucas-clemente/proxy-remove-version
...
remove unneeded version parameter from proxy constructor
2019-01-07 08:48:19 +07:00
Marten Seemann
e6d0ea630e
Merge pull request #1718 from lucas-clemente/fix-session-queue
...
implement a queue of session waiting to be accepted
2019-01-07 08:45:22 +07:00
Marten Seemann
181aa493e0
make sure not to return closed session from Listener.Accept()
2019-01-06 15:27:42 +07:00
Marten Seemann
90514d53d1
reject new connection attempts if the server's accept queue is full
2019-01-06 15:26:43 +07:00
Marten Seemann
68f1d6d0ca
properly close session in handshake integration tests
...
Otherwise there's a race condition when setting the supported versions.
2019-01-05 12:45:44 +07:00
Marten Seemann
2367ab35bb
remove unneeded version parameter from proxy constructor
2019-01-05 12:36:52 +07:00
Marten Seemann
203994d06b
add an integration test for tail loss recovery
2019-01-03 18:43:17 +07:00
Marten Seemann
cf0182e61c
use the same package in integration tests
2019-01-03 18:42:49 +07:00
Marten Seemann
41ca178dcc
don't run the handshake drop integration tests twice
2019-01-02 10:04:38 +07:00
Marten Seemann
a8ad6eea38
add integration tests for setting read and write deadlines
2018-12-20 14:43:25 +06:30
Marten Seemann
4abcce6408
use a self-signed certificate for integration tests
2018-12-11 14:24:12 +06:30
Marten Seemann
b0d965dfa5
close the server in the version negotiation integration tests
...
This fixes a race condition.
2018-11-27 11:19:07 +07:00
Marten Seemann
3ffea5d8c4
internalize the qerr package
2018-11-11 12:44:16 +07:00
Marten Seemann
13b4781d0f
don't import the quic-clients for the self integration test
2018-11-02 16:01:16 +07:00
Marten Seemann
3266e36811
drop support for gQUIC
2018-10-30 10:20:39 +07:00
Marten Seemann
2d65c2016e
make version negotiation tests work with only one supported versions
2018-10-29 10:42:15 +07:00
Marten Seemann
a7f94d89b6
only allow a single retry
2018-10-24 23:48:33 +07:00
Marten Seemann
91d65baf1b
add gQUIC 44 to the supported versions
2018-08-28 08:49:29 +07:00
Marten Seemann
46f8c07daa
improve the version negotiation integration test
2018-08-27 09:29:26 +07:00
Marten Seemann
82388748f7
add handshake RTT tests with IETF QUIC
2018-08-15 21:34:50 +07:00
Marten Seemann
3168f6cd28
simplify output of handshake RTT tests when the test fails
2018-08-15 21:34:50 +07:00
Marten Seemann
83cb7cbe2e
add an integration test multiplexing server and client on the same conn
2018-08-08 17:34:08 +07:00
Marten Seemann
8b2992a243
split the Session.Close(error) in Close() and CloseWithError(error)
2018-07-06 15:51:35 +07:00
Marten Seemann
748bb42a21
add an integration test using different connection ID lengths
2018-07-03 18:58:40 +07:00
Marten Seemann
879efb12b1
run multiplex integration tests with all supported QUIC versions
2018-07-02 10:49:44 +07:00
Marten Seemann
e07411ebe6
add an integration test multiplexing two downloads on one connection
2018-06-23 11:33:56 +07:00
Marten Seemann
2c9322c68f
add a self integration test with different roundtrip times
2018-06-23 08:33:45 +07:00
Marten Seemann
44cd1f1813
reduce the drop rate in the self drop tests from 1/4 to 1/5
2018-06-20 23:14:17 +07:00
Marten Seemann
bc2163777f
properly initialise the random number generator in the integration tests
2018-06-03 10:56:16 +08:00
Marten Seemann
c4c2fd96dc
add integration tests with dropped packets during the handshake
...
The tests simulate three different application profiles:
1. the client speaks first (e.g. sends a request)
2. the server speaks first
3. nobody speaks (i.e. a preconnect)
2018-05-29 21:10:28 +08:00
Marten Seemann
d58b7bb4fd
reenable the version negotiation integration tests
2018-02-26 14:43:23 +08:00
Marten Seemann
f3323c21f9
add integration tests using many unidirectional streams
2018-02-24 09:17:10 +08:00
Marten Seemann
58b20c6009
make the number of incoming streams configurable, for IETF QUIC
2018-02-23 22:15:31 +08:00
Marten Seemann
d0ffeac801
also run the integration tests using many streams with IETF QUIC
2018-02-06 07:42:31 +08:00
Marten Seemann
d671cf134c
don't force clients to use tls.Config.InsecureSkipVerify when using mint
...
mint recently implemented certificate verification.
This reverts commit d76f5a839c .
2018-02-02 08:18:29 +08:00
Marten Seemann
d76f5a839c
force clients to set tls.Config.InsecureSkipVerify when using mint
...
mint doesn't verify the certificate chain. This change forces users of
quic-go to acknowledge mint's insecure behavior by explicitely setting
InsecureSkipVerify.
2018-01-26 21:31:44 +11:00