summaryrefslogtreecommitdiff
path: root/include/internal/quic_tserver.h
diff options
context:
space:
mode:
authorTomas Mraz <tomas@openssl.org>2023-05-11 13:49:51 +0200
committerHugo Landau <hlandau@openssl.org>2023-05-17 14:04:18 +0100
commitbbc9754026e815429b55c92cf2a70e4ac59464cf (patch)
tree1617ff11a5d57535bc54d94b6ee761e7e1f87ebb /include/internal/quic_tserver.h
parentc301149ad43ee2c611e7b8d4f2826f524f3385aa (diff)
downloadopenssl-new-bbc9754026e815429b55c92cf2a70e4ac59464cf.tar.gz
quic_tserver: Add possibility to change the connection id
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/internal/quic_tserver.h')
-rw-r--r--include/internal/quic_tserver.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/internal/quic_tserver.h b/include/internal/quic_tserver.h
index a42bbaa684..744c34472e 100644
--- a/include/internal/quic_tserver.h
+++ b/include/internal/quic_tserver.h
@@ -145,6 +145,11 @@ int ossl_quic_tserver_stream_has_peer_reset_stream(QUIC_TSERVER *srv,
uint64_t stream_id,
uint64_t *app_error_code);
+/*
+ * Replaces existing local connection ID in the underlying QUIC_CHANNEL.
+ */
+int ossl_quic_tserver_set_new_local_cid(QUIC_TSERVER *srv,
+ const QUIC_CONN_ID *conn_id);
# endif
#endif