From: Richard Stallman <rms@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: url-retrieve may cause hang
Date: Wed, 18 Oct 2006 01:12:34 -0400 [thread overview]
Message-ID: <E1Ga3jG-0002fu-Kt@fencepost.gnu.org> (raw)
In-Reply-To: <87vemj9eib.fsf@freemail.hu> (message from Magnus Henoch on Tue, 17 Oct 2006 16:57:16 +0200)
I have attached my first attempt. There are two problems with it:
- DNS lookups are still synchronous. It seems we would need an
external library like GNU adns for that.
That means it fixes only one problem out of two. But it would
still be useful.
- There is no protocol for letting the callback know that retrieval
failed. Without this patch, the caller would immediately get an
error, but now the error is signalled in the sentinel. One solution
would be to introduce an :error argument to the callback, similar to
the :redirect one.
Is that too risky for now?
next prev parent reply other threads:[~2006-10-18 5:12 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-16 22:33 url-retrieve may cause hang David Reitter
2006-10-17 0:42 ` Magnus Henoch
2006-10-17 8:05 ` Kim F. Storm
2006-10-17 14:57 ` Magnus Henoch
2006-10-17 15:38 ` Stefan Monnier
2006-10-23 2:01 ` Magnus Henoch
2006-10-23 11:45 ` Richard Stallman
2006-10-25 14:22 ` Chong Yidong
2006-10-25 23:00 ` Magnus Henoch
2006-10-26 5:23 ` Richard Stallman
2006-10-17 16:24 ` Magnus Henoch
2006-10-17 17:48 ` David Reitter
2006-10-18 16:23 ` Michaël Cadilhac
2006-10-18 5:12 ` Richard Stallman [this message]
2006-10-18 9:03 ` Magnus Henoch
2006-10-18 14:01 ` Stefan Monnier
2006-10-18 17:54 ` Richard Stallman
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E1Ga3jG-0002fu-Kt@fencepost.gnu.org \
--to=rms@gnu.org \
--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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).