DTLSV1_HANDLE_TIMEOUT(3ossl)
πΈ NAME πΈ
okay so hi bestie π this is DTLSv1_handle_timeout from the 3ossl manual, and itβs literally the little helper that deals with a timeout event thatβs gone pending on a DTLS or QUIC SSL object. iconic behavior, no cap.
β¨ SYNOPSIS β¨
#include <openssl/ssl.h>
int DTLSv1_handle_timeout(SSL *ssl);
π DESCRIPTION π
So DTLSv1_handle_timeout() handles any timeout events that have become pending on a DTLS or QUIC SSL object. Thatβs the whole vibe: pending timeout? handled. π«Ά
To figure out when you should call it, use DTLSv1_get_timeout(3) or SSL_get_event_timeout(3). Theyβre the ones giving you the timing tea β.
This function is only applicable to DTLS or QUIC SSL objects, fr fr. If you call it on any other kind of SSL object, it returns 0 β like, it is not the main character for that object π.
Also important: SSL_handle_events(3) supersedes all use cases for this function and may be used instead of it. So yeah, that call ate and left no crumbs π.
π RETURN VALUES π
1β there was a pending timeout event, and it was handled successfully. slay β¨0β there was no pending timeout event, or theSSLobject is not a DTLS or QUIC object. no timeout, no problem.-1β there was a pending timeout event, but it could not be handled successfully. π not the successful ending we wanted.
π₯ SEE ALSO π₯
π COPYRIGHT π
Copyright 2023 The OpenSSL Project Authors. All Rights Reserved.
Licensed under the Apache License 2.0 (the "License"). You may not use this file except in compliance with the License. You can obtain a copy in the file LICENSE in the source distribution or at <https://www.openssl.org/source/license.html>.
okay thatβs the page, bestie π β OpenSSL 3.5.0, dated 2026-09-25, 3ossl manual, signing off with kisses π periodt.
π¦ where this page comes from
- opensuse-leap 16.0: openssl-3-doc 3.5.0-160000.11.1 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms