Commit Graph

98 Commits

Author SHA1 Message Date
Marten Seemann
437b01b7df fix flaky cancelation integration test 2019-06-28 22:37:24 +07:00
Marten Seemann
ea9f72ba23 add an integration test that cancels OpenStreamSync 2019-06-22 19:37:22 +08:00
Marten Seemann
2b8cece60a add a context to Session.Open{Uni}StreamSync 2019-06-22 19:37:21 +08:00
Marten Seemann
e63a991950 add an integration test that cancels AcceptStream 2019-06-22 19:37:12 +08:00
Marten Seemann
5550ba2c3b add a context to Session.Accept{Uni}Stream 2019-06-22 19:37:11 +08:00
Marten Seemann
12bce1caaa add a context to Listener.Accept 2019-06-22 19:36:52 +08:00
Marten Seemann
7c1f9dffe4 add an integration test for ALPN 2019-06-02 14:58:41 +08:00
Marten Seemann
979ab75b3b require ALPN during the TLS handshake 2019-06-02 14:58:37 +08:00
Marten Seemann
34543848f0 send a NEW_TOKEN from after completing the handshake (as a server) 2019-06-02 14:18:27 +08:00
Marten Seemann
1d6707325f name the quic.Cookie to quic.Token 2019-05-30 22:13:06 +08:00
Marten Seemann
1284678095 use a single packet conn for all dials in the rate limiting test 2019-05-30 13:19:29 +08:00
Marten Seemann
de6ab88437 add support for gzipped HTTP/3 requests 2019-04-16 17:26:03 +09:00
Marten Seemann
00ce072086 add a HTTP integration test that sets and gets request headers 2019-04-14 23:00:44 +09:00
Marten Seemann
7dc75bd62f add a HTTP integration test that sets and gets response headers 2019-04-14 21:38:17 +09:00
Marten Seemann
4f6d0e651a implement HTTP/3 2019-04-11 09:06:10 +09:00
Marten Seemann
daab551723 add an integration test for session resumption 2019-04-01 11:45:20 +09:00
Marten Seemann
dc3ad9ccc5 add an integration test for HelloRetryRequests 2019-03-14 16:47:09 +09:00
Marten Seemann
e4bd715728 Merge pull request #1814 from lucas-clemente/stateless-resets
implement sending of stateless resets
2019-03-08 18:54:13 +09:00
Marten Seemann
e3e6f6b043 fix flaky handshake integration test 2019-03-08 18:37:13 +09:00
Marten Seemann
f9c7c0f703 Merge pull request #1817 from lucas-clemente/tls-errors
rework crypto errors
2019-03-08 18:15:18 +09:00
Marten Seemann
19cf46d736 add an integration test for stateless resets 2019-03-08 18:10:16 +09:00
Marten Seemann
5b27076a4c return the local TLS error, but don't send it on the wire 2019-03-08 18:02:43 +09:00
Marten Seemann
373db3c153 send the correct error code for crypto errors 2019-03-08 18:02:43 +09:00
Marten Seemann
4d7d951782 add an integration test for the duration of the idle timeout 2019-03-08 17:32:50 +09:00
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