Commit graph

63 commits

Author SHA1 Message Date
Marten Seemann
10217a6f3b fix issuing of connection IDs when dialing a 0-RTT connections
When dialing a 0-RTT connection, the client first restores the transport
parameters from the original connection, and then applies the transport
parameters provided by the server on the new connections.
2021-03-03 14:10:06 +08:00
Marten Seemann
356c69944e return a quic.ConnectionState from Session.ConnectionState() 2020-12-09 15:31:23 +07:00
Marten Seemann
ee24d3899e simplify the Tracer interface by combining the TracerFor... methods 2020-07-11 13:22:52 +07:00
Marten Seemann
a5b967a309 add a command line option to export qlogs from the integration tests 2020-03-26 20:37:08 +07:00
Marten Seemann
0b3340493a update GolangCI-Lint to v1.23.8 2020-03-05 10:20:15 +07:00
Marten Seemann
4fc5974938 fix flaky 0-RTT Retry test 2020-02-24 19:09:00 +07:00
Marten Seemann
8476b9c7e6 reject 0-RTT when the ALPN changed 2020-01-30 13:12:42 +07:00
Marten Seemann
5ee7498595 fix the 0-RTT rejection integration test 2020-01-30 09:47:49 +07:00
Marten Seemann
78fdb9256b add test checking that 0-RTT is rejected if transport parameters changed 2020-01-30 09:21:10 +07:00
Marten Seemann
a93e544c94 remove Session.Close()
Session.Close() sends a transport-level error code. Applications should
not be able to call this function, but use CloseWithError() instead.
2020-01-26 17:41:53 +07:00
Marten Seemann
eeba3951ae only enable 0-RTT when using ListenEarly and DialEarly 2020-01-17 11:22:12 +07:00
Marten Seemann
9feba60b8a add a test that waits for handshake completion after sending 0-RTT data 2020-01-07 11:16:42 +07:00
Marten Seemann
00150e1d94 add some integration tests for 0-RTT handshakes 2020-01-01 18:04:02 +04:00