diff options
author | Hugo Landau <hlandau@openssl.org> | 2023-05-24 16:06:22 +0100 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2023-05-29 08:52:44 +0200 |
commit | b626a0f1fdd306845e5ff7632329d32d5f9e2fba (patch) | |
tree | 5b66d7d0215901a8b5815570b8b087fba1af94b3 /ssl | |
parent | a35e38a2128163209db76eb9135e29b1bbe54c9e (diff) | |
download | openssl-b626a0f1fdd306845e5ff7632329d32d5f9e2fba.tar.gz |
SSL_handle_events(): Minor fixes to documentation
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20879)
Diffstat (limited to 'ssl')
-rw-r--r-- | ssl/quic/quic_impl.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/ssl/quic/quic_impl.c b/ssl/quic/quic_impl.c index d9ee5cf96e..d00f4455b0 100644 --- a/ssl/quic/quic_impl.c +++ b/ssl/quic/quic_impl.c @@ -839,7 +839,7 @@ static int xso_blocking_mode(const QUIC_XSO *xso) && xso->conn->can_poll_net_wbio; } -/* SSL_handle_events; handles events by ticking the reactor. */ +/* SSL_handle_events; performs QUIC I/O and timeout processing. */ QUIC_TAKES_LOCK int ossl_quic_handle_events(SSL *s) { @@ -856,9 +856,10 @@ int ossl_quic_handle_events(SSL *s) /* * SSL_get_event_timeout. Get the time in milliseconds until the SSL object - * should be ticked by the application by calling SSL_handle_events(). tv is set - * to 0 if the object should be ticked immediately. If no timeout is currently - * active, *is_infinite is set to 1 and the value of *tv is undefined. + * should next have events handled by the application by calling + * SSL_handle_events(). tv is set to 0 if the object should have events handled + * immediately. If no timeout is currently active, *is_infinite is set to 1 and + * the value of *tv is undefined. */ QUIC_TAKES_LOCK int ossl_quic_get_event_timeout(SSL *s, struct timeval *tv, int *is_infinite) |