all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ted Zlatanov <tzz@lifelogs.com>
To: emacs-devel@gnu.org
Subject: Re: Slow TLS connections from some servers
Date: Thu, 27 Oct 2011 18:13:43 -0400	[thread overview]
Message-ID: <877h3qaxrc.fsf@lifelogs.com> (raw)
In-Reply-To: 87pqio7red.fsf@lifelogs.com

On Sun, 25 Sep 2011 07:11:54 -0500 Ted Zlatanov <tzz@lifelogs.com> wrote: 

TZ> On Sun, 11 Sep 2011 02:48:52 +0200 Lars Magne Ingebrigtsen <larsi@gnus.org> 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	other threads:[~2011-10-27 22:13 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-11  0:48 Slow TLS connections from some servers Lars Magne Ingebrigtsen
2011-09-11 14:43 ` Antoine Levitt
2011-09-11 15:45   ` Lars Magne Ingebrigtsen
2011-09-25 12:11 ` Ted Zlatanov
2011-10-27 22:13   ` Ted Zlatanov [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=877h3qaxrc.fsf@lifelogs.com \
    --to=tzz@lifelogs.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.