From eff046524b970243196d4622d20ffb8e0aeb208b Mon Sep 17 00:00:00 2001 From: Tomas Mraz Date: Fri, 5 May 2023 16:51:28 +0200 Subject: 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 Reviewed-by: Paul Dale (Merged from https://github.com/openssl/openssl/pull/20892) --- include/internal/quic_channel.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') 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 -- cgit v1.2.3