[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#34607: (no subject)
From: |
Lars Ingebrigtsen |
Subject: |
bug#34607: (no subject) |
Date: |
Wed, 15 May 2019 06:08:47 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
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
- bug#34607: (no subject),
Lars Ingebrigtsen <=