[sr #107763] Running GnuTLS in non-blocking mode.

Nikos Mavrogiannopoulos INVALID.NOREPLY at gnu.org
Wed Aug 3 19:00:02 CEST 2011

Update of sr #107763 (project gnutls):

                  Status:                    None => Duplicate              
             Assigned to:                    None => nmav                   


Follow-up Comment #1:

Unfortunately there is not much we can do. This is indeed a duplicate of
#107660. The solutions discussed in:
should be applicable to your case. Note however that the quick fix (1) using
gnutls_transport_set_lowat(), is not applicable in gnutls 3.0.0 that doesn't
have this function.

Because operating system sockets and gnutls sessions operate on different
context the convenient usage of select was mostly a hack that became expensive
to maintain. A solution is to wrap select with a function that will also poll
gnutls_record_check_pending(). If the interface of the latter function is not
sufficient feel free to send suggestions and/or improvements.



Reply to this item at:


  Message sent via/by Savannah

More information about the Gnutls-devel mailing list