diff options
author | Matt Caswell <matt@openssl.org> | 2023-03-13 17:36:24 +0000 |
---|---|---|
committer | Pauli <pauli@openssl.org> | 2023-03-20 09:35:55 +1100 |
commit | 0c593328fe811583da68d25b0c8bf87ba842acbb (patch) | |
tree | f11d86cdc06dac4da4315f67cb1cf8595c4234d1 /ssl | |
parent | c2212dc19eb280e22bda7d0538b23eef0be040e9 (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')
-rw-r--r-- | ssl/quic/quic_tserver.c | 5 |
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; +} |