diff options
author | Hugo Landau <hlandau@openssl.org> | 2024-02-02 12:30:41 +0000 |
---|---|---|
committer | Hugo Landau <hlandau@openssl.org> | 2024-02-10 11:37:14 +0000 |
commit | 9387bd4c25cf37613bcecc173e63f93327eb47ec (patch) | |
tree | a43a77d441d1035fa95a4c42a2f0b158752e9367 /ssl/rio | |
parent | f945986a180d0af7cc3029ffbae0c826f06e5c9d (diff) | |
download | openssl-9387bd4c25cf37613bcecc173e63f93327eb47ec.tar.gz |
QUIC POLLING: Implement autotick
Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23495)
Diffstat (limited to 'ssl/rio')
-rw-r--r-- | ssl/rio/poll_immediate.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/ssl/rio/poll_immediate.c b/ssl/rio/poll_immediate.c index 7de211742a..d4fd62ad95 100644 --- a/ssl/rio/poll_immediate.c +++ b/ssl/rio/poll_immediate.c @@ -61,13 +61,6 @@ int SSL_poll(SSL_POLL_ITEM *items, FAIL_FROM(0); } - if (do_tick) { - ERR_raise_data(ERR_LIB_SSL, SSL_R_POLL_REQUEST_NOT_SUPPORTED, - "SSL_poll does not currently support implicit I/O " - "processing"); - FAIL_FROM(0); - } - /* Trivial case. */ if (num_items == 0) goto out; @@ -88,7 +81,7 @@ int SSL_poll(SSL_POLL_ITEM *items, switch (ssl->type) { case SSL_TYPE_QUIC_CONNECTION: case SSL_TYPE_QUIC_XSO: - if (!ossl_quic_conn_poll_events(ssl, events, &revents)) + if (!ossl_quic_conn_poll_events(ssl, events, do_tick, &revents)) /* above call raises ERR */ FAIL_ITEM(i); @@ -121,7 +114,6 @@ int SSL_poll(SSL_POLL_ITEM *items, /* TODO(QUIC POLLING): Blocking mode */ /* TODO(QUIC POLLING): Support for polling FDs */ - /* TODO(QUIC POLLING): Support for autotick */ out: if (p_result_count != NULL) |