summaryrefslogtreecommitdiffstats
path: root/ssl/quic/quic_tserver.c
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2023-03-13 17:36:24 +0000
committerPauli <pauli@openssl.org>2023-03-20 09:35:55 +1100
commit0c593328fe811583da68d25b0c8bf87ba842acbb (patch)
treef11d86cdc06dac4da4315f67cb1cf8595c4234d1 /ssl/quic/quic_tserver.c
parentc2212dc19eb280e22bda7d0538b23eef0be040e9 (diff)
Add a simple QUIC test for blocking mode
We create "real" sockets for blocking mode so that we can block on them. Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/20514)
Diffstat (limited to 'ssl/quic/quic_tserver.c')
-rw-r--r--ssl/quic/quic_tserver.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/ssl/quic/quic_tserver.c b/ssl/quic/quic_tserver.c
index 0498bf8d0e..8d11379d95 100644
--- a/ssl/quic/quic_tserver.c
+++ b/ssl/quic/quic_tserver.c
@@ -262,3 +262,8 @@ int ossl_quic_tserver_conclude(QUIC_TSERVER *srv)
ossl_quic_tserver_tick(srv);
return 1;
}
+
+BIO *ossl_quic_tserver_get0_rbio(QUIC_TSERVER *srv)
+{
+ return srv->args.net_rbio;
+}