summaryrefslogtreecommitdiff
path: root/include/internal/quic_channel.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_channel.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_channel.h')
-rw-r--r--include/internal/quic_channel.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/internal/quic_channel.h b/include/internal/quic_channel.h
index d1a231fcc8..6dbf08665d 100644
--- a/include/internal/quic_channel.h
+++ b/include/internal/quic_channel.h
@@ -319,6 +319,10 @@ void ossl_quic_channel_set_incoming_stream_auto_reject(QUIC_CHANNEL *ch,
*/
void ossl_quic_channel_reject_stream(QUIC_CHANNEL *ch, QUIC_STREAM *qs);
+/* Replace local connection ID in TXP and DEMUX for testing purposes. */
+int ossl_quic_channel_replace_local_cid(QUIC_CHANNEL *ch,
+ const QUIC_CONN_ID *conn_id);
+
# endif
#endif