diff options
author | Tomas Mraz <tomas@openssl.org> | 2023-05-05 16:51:28 +0200 |
---|---|---|
committer | Hugo Landau <hlandau@openssl.org> | 2023-05-17 14:04:18 +0100 |
commit | eff046524b970243196d4622d20ffb8e0aeb208b (patch) | |
tree | d2c975ac8b7334c0d9b75d51b597765dab3c1a09 /include | |
parent | dbca844cb3e74b19acf46eb9a2222d30802ad642 (diff) |
Add minimal handling of NEW_CONNECTION_ID frames
We actively use only the latest DCID received. And retire only
DCIDs requested by the peer to be retired.
Also changed the active_conn_id_limit to 2 as the minimum value allowed.
Reviewed-by: Hugo Landau <hlandau@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20892)
Diffstat (limited to 'include')
-rw-r--r-- | include/internal/quic_channel.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/internal/quic_channel.h b/include/internal/quic_channel.h index a33416fd2b..d1a231fcc8 100644 --- a/include/internal/quic_channel.h +++ b/include/internal/quic_channel.h @@ -220,6 +220,8 @@ void ossl_quic_channel_raise_protocol_error(QUIC_CHANNEL *ch, /* For RXDP use. */ void ossl_quic_channel_on_remote_conn_close(QUIC_CHANNEL *ch, OSSL_QUIC_FRAME_CONN_CLOSE *f); +void ossl_quic_channel_on_new_conn_id(QUIC_CHANNEL *ch, + OSSL_QUIC_FRAME_NEW_CONN_ID *f); /* * Queries and Accessors |