Commit Graph

492 Commits

Author SHA1 Message Date
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
Marten Seemann
99a2853e7d remove non forward-secure dialing
This was broken for a long time, and won't be available when using the
TLS 1.3 handshake.
2018-01-02 23:26:55 +07:00
Marten Seemann
96571b56e5 wait for serve() to return before returning from server.Close() 2017-12-20 16:59:38 +07:00
Marten Seemann
84ea38c243 fix concurrent streams integration test
This test actually never worked. stream.Write blocks until the data has
been sent out, so we never opened the maximum number of concurrent
streams.
2017-12-12 22:58:23 +07:00
Marten Seemann
39b7a7e0a9 add an integration tests concurrently opening and closing many streams 2017-12-06 10:24:39 +07:00
Marten Seemann
095c29dc2c drop support for QUIC 37 and 38 2017-11-07 00:23:53 +07:00
Marten Seemann
66e4da3031 add more integration tests for the handshake 2017-11-04 22:48:16 +07:00
Marten Seemann
43c23ff5fa fix client handshake failure when the server supports unknown versions 2017-11-02 17:41:06 +07:00
Marten Seemann
47d87740ae add an integration test for invalid certificates 2017-10-02 16:47:40 +08:00
Marten Seemann
d9abbb6575 run the self integration tests with the TLS handshake 2017-09-29 17:35:28 +07:00
Marten Seemann
55c35a3c4e add an integration test for the TLS handshake 2017-09-28 15:51:59 +07:00
Marten Seemann
6dde979f8f implement a string representation of the version number
This will be useful as soon as we start supporting non-gQUIC versions.
2017-09-28 15:19:12 +07:00
Marten Seemann
265c35c2eb rename the STK to Cookie 2017-09-22 18:58:04 +07:00
Marten Seemann
039edc1ccd add an integration test for version negotiation 2017-09-15 17:28:03 +07:00
Marten Seemann
3cc34a3ae7 don't parse the Public Header in the proxy 2017-09-12 14:42:27 +07:00
Marten Seemann
7ba9fb0f8b use a kernel determined server address in proxy tests
Now we can execute the proxy tests in parallel without running into
"address already in use" errors.
2017-09-12 14:38:37 +07:00
Marten Seemann
17a0541edb use the quic.Config to set the QUIC version in the Chrome tests 2017-09-05 19:30:14 +02:00
Marten Seemann
7d446253c4 use the quic.Config to set the QUIC version in client integration tests
This fixes a race condition in that test.
2017-09-05 19:30:14 +02:00
Marten Seemann
682d8b1c7a fix race condition in the handshake RTT tests 2017-09-05 19:30:14 +02:00
Marten Seemann
f5abd5d858 delete empty files in the integration tests folder
These empty files were necessary in Go 1.8, but are obsolete now.
2017-08-31 17:18:40 +07:00
Marten Seemann
f1ada87dcf make the protocol package internal 2017-08-30 00:19:44 +07:00
Marten Seemann
dd0daaaf1e implement version-dependent parsing of the Public Header 2017-08-23 16:00:45 +07:00
Lucas Clemente
19d1210a9a Remove dataManager and move client_test.go from gquic/ to self/ 2017-08-18 12:06:37 +02:00
Lucas Clemente
84db78db83 Move rest of integration tests into the gquic folder 2017-08-18 12:06:37 +02:00
Lucas Clemente
0b1d7c46f5 Rename handshake/ to self/, will be the place for future quic-go self tests 2017-08-18 12:06:37 +02:00