[gnutls-devel] GnuTLS | kTLS: add a timeout funtionality to _gnutls_ktls_recv() (#1679)
Read-only notification of GnuTLS library development activities
gnutls-devel at lists.gnutls.org
Tue Mar 11 11:27:23 CET 2025
František Krenželok created an issue: https://gitlab.com/gnutls/gnutls/-/issues/1679
Currently the kTLS-receive implementation doesn't support timeouts, this can be handled by using the GNUTLS_E_AGAIN e.g.
```
do {
ret = gnutls_record_recv(session, ...);
} while (ret == GNUTLS_E_AGAIN);
```
But we shouldn't count on this especially in code that has been written in the past.
Additional the user should have control over this for asynchronous implementations.
--
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/issues/1679
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20250311/6fffa18b/attachment.html>
More information about the Gnutls-devel
mailing list