bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#22493: 25.1.50; open-gnutls-stream doesn't respect :nowait, so the c


From: Lars Ingebrigtsen
Subject: bug#22493: 25.1.50; open-gnutls-stream doesn't respect :nowait, so the connections are synchronous
Date: Mon, 01 Feb 2016 00:17:10 +0100
User-agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.1.50 (gnu/linux)

Eli Zaretskii <address@hidden> writes:

> Like I wrote elsewhere, I don't understand what this gives us.  The
> sentinel runs in the main thread, so you still wait for the GnuTLS
> handshake to complete.  Right?

It depends on what you mean by "you".  :-)  If you go to a web page that
includes <img>, Emacs will pause while doing DNS lookups (for non-TLS
images) and the entire DNS lookup/connection/TLS negotiation cycle (for
TLS connections).  Having Emacs stop randomly while you're doing
something is rather annoying.

Both the connection and the TLS negotiation happens on the idle thread,
of course, so there will still be hangs, but they are much shorter than
the entire cycle.

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





reply via email to

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