emacs-devel
[Top][All Lists]
Advanced

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

Re: Slow TLS connections from some servers


From: Ted Zlatanov
Subject: Re: Slow TLS connections from some servers
Date: Sun, 25 Sep 2011 07:11:54 -0500
User-agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux)

On Sun, 11 Sep 2011 02:48:52 +0200 Lars Magne Ingebrigtsen <address@hidden> 
wrote: 

LMI> Currently, the following takes ten seconds for me:
LMI> (url-retrieve 
"https://www.deleak.com/blog/wp-content/uploads//2011/06/annalogoonblack.jpg"; 
#'ignore)

LMI> While it's evaling Emacs is completely unresponsive.  gdb seems to say
LMI> that it's deep in gnutls-boot somewhere during this time.

LMI> Would it be possible to make the gnutls-boot code more asynchronous?

GnuTLS itself is asynchronous and Emacs processes are sort of
asynchronous, but AFAICT the Emacs part that *initializes* a process
isn't.  So fixing this could require moving the `gnutls-boot' call to
after the process is initialized, which would of course require more
bookkeeping and work.

Could someone with better knowledge of the Emacs processes confirm my
guess or tell me a better way?

Thanks
Ted




reply via email to

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