[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: eww/url: www connections left "open"
From: |
Lars Ingebrigtsen |
Subject: |
Re: eww/url: www connections left "open" |
Date: |
Wed, 20 Dec 2017 08:29:04 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
raman <address@hidden> writes:
> Most of the time, this is harmless and the connections go away ---
> except when they dont, and if more than a few of these hang around,
> then opening other URLs with EWW produces nothing. Killing those
> hanging connections with delete-process immediately gets EWW working
> again --- e.g. killing those connections with the following loop:
>
> (cl-loop
> for p in (process-list)
> when (string-match "www" (process-name p))
> do (delete-process p))
The list of connections is in the `url-http-open-connections' hash
table, so you can just loop over that to kill the connections.
And, yes, it's annoying that url-http.el doesn't deal with hanging
connections very well.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no