summaryrefslogtreecommitdiffstats
path: root/ssl/quic/quic_impl.c
diff options
context:
space:
mode:
authorHugo Landau <hlandau@openssl.org>2023-02-21 10:18:59 +0000
committerHugo Landau <hlandau@openssl.org>2023-03-30 11:14:09 +0100
commit3b1ab5a3a0a10798ea9a1547b6cb50182edaeb5b (patch)
tree56bbcf1b2cf13dba60d0bc0d9c7503bc5be696d7 /ssl/quic/quic_impl.c
parent4648eac53385c5e04bd4ec9dcefe04a74d4221c3 (diff)
Enhance quic_tserver test to fully test thread assisted mode
Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/20348)
Diffstat (limited to 'ssl/quic/quic_impl.c')
-rw-r--r--ssl/quic/quic_impl.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/ssl/quic/quic_impl.c b/ssl/quic/quic_impl.c
index 766a88633a..483b694c7d 100644
--- a/ssl/quic/quic_impl.c
+++ b/ssl/quic/quic_impl.c
@@ -256,6 +256,14 @@ void ossl_quic_conn_set_override_now_cb(SSL *s,
qc->override_now_cb_arg = now_cb_arg;
}
+void ossl_quic_conn_force_assist_thread_wake(SSL *s)
+{
+ QUIC_CONNECTION *qc = QUIC_CONNECTION_FROM_SSL(s);
+
+ if (qc->is_thread_assisted && qc->started)
+ ossl_quic_thread_assist_notify_deadline_changed(&qc->thread_assist);
+}
+
/*
* QUIC Front-End I/O API: Network BIO Configuration
* =================================================