[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:
https://savannah.gnu.org/support/?107660#comment3
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.

regards,
Nikos


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/support/?107763>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





More information about the Gnutls-devel mailing list