summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTomas Mraz <tomas@openssl.org>2023-05-05 16:51:28 +0200
committerHugo Landau <hlandau@openssl.org>2023-05-17 14:04:18 +0100
commiteff046524b970243196d4622d20ffb8e0aeb208b (patch)
treed2c975ac8b7334c0d9b75d51b597765dab3c1a09 /include
parentdbca844cb3e74b19acf46eb9a2222d30802ad642 (diff)
downloadopenssl-new-eff046524b970243196d4622d20ffb8e0aeb208b.tar.gz
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.h2
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