summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorHugo Landau <hlandau@openssl.org>2023-07-18 16:12:04 +0100
committerMatt Caswell <matt@openssl.org>2023-07-31 14:03:25 +0100
commit03b3859501b69d48c8710b6a0754842c7166a7c1 (patch)
tree8219bf53cd9635e389ee2402ac89098b84d7d721 /include
parentb1fdeaca8c1f19e546a1648b871472ec3091bd36 (diff)
QUIC CHANNEL: Allow ticking to be inhibited for testing purposes
Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/21484)
Diffstat (limited to 'include')
-rw-r--r--include/internal/quic_channel.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/internal/quic_channel.h b/include/internal/quic_channel.h
index bd9f45c68a..03aeab949b 100644
--- a/include/internal/quic_channel.h
+++ b/include/internal/quic_channel.h
@@ -353,6 +353,9 @@ int ossl_quic_channel_has_pending(const QUIC_CHANNEL *ch);
/* Force transmission of an ACK-eliciting packet. */
int ossl_quic_channel_ping(QUIC_CHANNEL *ch);
+/* For testing use. While enabled, ticking is not performed. */
+void ossl_quic_channel_set_inhibit_tick(QUIC_CHANNEL *ch, int inhibit);
+
# endif
#endif