Commit graph

17 commits

Author SHA1 Message Date
Marten Seemann
c3ab9c4ea9 replace all connection IDs at the same time when connection is closed 2022-08-21 14:09:49 +03:00
Marten Seemann
43bde14cf7 implement generic Min and Max functions 2022-08-10 14:59:05 +02:00
Marten Seemann
b2857b5442 remove the RetireBugBackwardsCompatibilityMode 2021-06-26 15:49:02 -07:00
Marten Seemann
592fb9cad9 introduce a dedicated qerr.TransportError and qerr.ApplicationError 2021-05-01 09:38:48 +07:00
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
e1f56127df only use the conn ID backwards compatibility mode with draft-29 2020-10-22 20:33:17 +07:00
Marten Seemann
a1bb39d6ab introduce a protocol.StatelessResetToken 2020-07-10 19:55:20 +07:00
Marten Seemann
ce5ddc050c add a flag to disable conn ID generation and the check for retired conn IDs 2020-07-09 10:40:56 +07:00
Marten Seemann
33fc464bac use PROTOCOL_VIOLATION for invalid RETIRE_CONNECTION_ID frames 2020-07-08 12:24:15 +07:00
Marten Seemann
25db2166dd enforce that a conn ID is not retired in a packet that uses that conn ID 2020-07-08 12:06:57 +07:00
Marten Seemann
6d61dccc2f rename the constructors for the various qerr.Error flavors 2020-03-21 10:53:03 +07:00
Marten Seemann
634169b061 don't return a stateless reset token when adding a new connection ID
Both server and client didn't make use of the token. It was only used by
the connIDGenerator.
2020-02-03 17:31:47 +01:00
Marten Seemann
3f6030fdb3 count the connection ID used during the handshake towards the limit 2019-12-03 18:25:15 +07:00
Marten Seemann
5a834851a8 route retransmissions of the client's Initial to the right session 2019-11-26 17:01:21 +07:00
Marten Seemann
5d0d0d0679 implement replacing with a closed session for all active connection IDs 2019-11-05 11:00:07 +07:00
Marten Seemann
f948165824 implement removing of all active connection IDs 2019-11-05 11:00:07 +07:00
Marten Seemann
121795977d implement issuing and retiring of connection IDs 2019-11-05 11:00:07 +07:00