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

From: Eli Zaretskii <[email-masked]>
Date: Sun, 31 Jan 2016 18:00:43 +0200

> From: Lars Ingebrigtsen <[email-masked]>
> Date: Sun, 31 Jan 2016 02:10:04 +0100
> 
> So: gnutls.el could be refactored to have a function that computes that
> stuff, and then gnutls-mark-process could take that keyword list and
> stash it in the process object.  connect_network_socket could then (in
> :nowait mode) call gnutls-boot directly, keeping it all nice and safe in
> the C layer.
> 
> That would obviate the sentinel, and make this all transparent for the
> caller.

And how will that help you make the negotiations asynchronous?