[gnutls-devel] GnuTLS | use custom transport with gnutls (#673)

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Mon Jan 14 18:42:12 CET 2019

I recommend you take a look at [`gnutls_transport_set_errno()`](https://gnutls.org/manual/gnutls.html#gnutls_005ftransport_005fset_005ferrno). You can implement non-blocking push/pull operation by setting `EAGAIN` or `EINTR` as appropriate and returning `-1`. For example, `mod_gnutls` does this to [implement push/pull in the Apache HTTPD filter chain](https://mod.gnutls.org/browser/mod_gnutls/src/gnutls_io.c#L792).

Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/issues/673#note_131428634
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/20190114/998697f2/attachment.html>

More information about the Gnutls-devel mailing list