Subject: Re: bug#22493: 25.1.50; open-gnutls-stream doesn't respect :nowait, so the connections are synchronous

From: Lars Ingebrigtsen <[email-masked]>
Date: Sat, 06 Feb 2016 14:03:40 +1100

Eli Zaretskii <[email-masked]> writes:

>> From: Lars Ingebrigtsen <[email-masked]>
>> Cc: [email-masked]
>> Date: Fri, 05 Feb 2016 18:34:44 +1100
>> 
>> There is no waiting in the GnuTLS library during negotiation.  It is
>> fully asynchronous.  If any action blocks, it will return, and we can
>> proceed later.  It works, seen from the application side, as any other
>> network connection.
>
> The _waiting_ is asynchronous.  The processing cannot be, because
> GnuTLS doesn't start any threads.

I think you're nitpicking semantics now.  There will be no user-visible
waiting while a TLS connection is negotiated, OK?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no