[gnutls-devel] GnuTLS | gnutls-cli: Add option to wait longer for resumption data (!1232)

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Tue Apr 14 14:27:37 CEST 2020




Anderson Sasaki commented on a discussion: https://gitlab.com/gnutls/gnutls/-/merge_requests/1232#note_323482424

I can make it to wait indefinitely by passing ``GNUTLS_INDEFINITE_TIMEOUT`` to ``gnutls_system_recv_timeout()`` (which actually was my first approach; I changed it to use a finite timeout due to a suggestion from Nikos as it would make the client to block).

Would that be acceptable? Could you explain the benefit of using a more complicated implementation like the self-pipe trick?

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/merge_requests/1232#note_323482424
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/20200414/79ce3bce/attachment.html>


More information about the Gnutls-devel mailing list