GNU bug report logs - #58218
29.0.50; url-retrieve-synchronously with timeout causes process-query-on-exit

Previous Next

Package: emacs;

Reported by: Phil Sainty <psainty <at> orcon.net.nz>

Date: Sat, 1 Oct 2022 10:56:01 UTC

Severity: normal

Found in version 29.0.50

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Phil Sainty <psainty <at> orcon.net.nz>
Cc: 58218 <at> debbugs.gnu.org
Subject: bug#58218: 29.0.50; url-retrieve-synchronously with timeout causes process-query-on-exit
Date: Sat, 01 Oct 2022 14:33:46 +0200
Phil Sainty <psainty <at> orcon.net.nz> writes:

> (url-retrieve-synchronously "http://www.example.com" nil nil 0.01)
> nil
>
> M-x list-processes
> www.example.com -- open -- -- Main (network connection to
> www.example.com:80)
>
> C-x C-c
> Active processes exist; kill them and exit anyway? (yes or no)

Yes, it seems to be an accounting error in the code around
`url-http-mark-connection-as-busy' -- that function is called too late,
and marks the connection as busy after we've already exited, and then it
never marks the connection as non-busy...  Hm...

We never get to

http -> Marking connection as free: www.example.com:80 #<process www.example.com<1>>

because we never get the callback.  Hm...




This bug report was last modified 2 years and 262 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.