[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

From: Nikos Mavrogiannopoulos
Subject: [sr #107763] Running GnuTLS in non-blocking mode.
Date: Wed, 03 Aug 2011 17:00:02 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.30 (KHTML, like Gecko) Ubuntu/11.04 Chromium/12.0.742.112 Chrome/12.0.742.112 Safari/534.30

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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]