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: Thu, 27 Oct 2011 18:13:43 -0400
User-agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.90 (gnu/linux)

On Sun, 25 Sep 2011 07:11:54 -0500 Ted Zlatanov <address@hidden> wrote: 

TZ> 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?

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

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

I'll put this on my GnuTLS TODO list as well as I review the code.

Thanks
Ted




reply via email to

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