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: Sun, 25 Sep 2011 07:11:54 -0500	[thread overview]
Message-ID: <87pqio7red.fsf@lifelogs.com> (raw)
In-Reply-To: m3k49fx5sb.fsf@stories.gnus.org

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?

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




  parent reply	other threads:[~2011-09-25 12:11 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 [this message]
2011-10-27 22:13   ` Ted Zlatanov

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=87pqio7red.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.