From: Lars Ingebrigtsen <larsi@gnus.org>
To: Bad Blue Bull <ibmbull@yandex.ru>
Cc: 34607 <34607@debbugs.gnu.org>
Subject: bug#34607: (no subject)
Date: Wed, 15 May 2019 06:08:47 +0200 [thread overview]
Message-ID: <87r290xsts.fsf@mouse.gnus.org> (raw)
In-Reply-To: <8701561550840358@sas1-adb97d30497b.qloud-c.yandex.net> (Bad Blue Bull's message of "Fri, 22 Feb 2019 15:59:18 +0300")
Bad Blue Bull <ibmbull@yandex.ru> writes:
> sorry, elisp line intented intended to be
> (with-current-buffer (url-retrieve-synchronously "http://gnu.org" nil t 3) (kill-buffer))
This is surprisingly difficult to fix -- the reason being that URL
library is asynchronously following a redirect, and possibly opening a
new connection, and then marking that new connection with
`process-query-on-exit-flag'. So depending on where you are in that
cycle, the buffer may have a query-enabled process when you try to kill
it.
Which sucks.
On timeouts, url-retrive-synchronously should abort the entire thing,
but url-retrieve (which is used in the background) doesn't really
support that...
Hm.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
next prev parent reply other threads:[~2019-05-15 4:08 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-02-21 16:58 bug#34607: url-retrieve-synchronously: TIMEOUT option value takes no effect Bad Blue Bull
2019-02-22 1:28 ` Bad Blue Bull
2019-02-22 12:59 ` bug#34607: (no subject) Bad Blue Bull
2019-05-15 4:08 ` Lars Ingebrigtsen [this message]
2019-05-15 13:27 ` Dmitry Gutov
2020-07-19 20:42 ` Lars Ingebrigtsen
2020-07-19 21:05 ` Dmitry Gutov
2020-07-19 21:26 ` Lars Ingebrigtsen
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=87r290xsts.fsf@mouse.gnus.org \
--to=larsi@gnus.org \
--cc=34607@debbugs.gnu.org \
--cc=ibmbull@yandex.ru \
/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.