From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: eww/url: www connections left "open" Date: Wed, 20 Dec 2017 06:56:53 +0200 Message-ID: <5DE422A4-3AF8-47FB-A048-F505E0883801@gnu.org> References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1513745743 26497 195.159.176.226 (20 Dec 2017 04:55:43 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 20 Dec 2017 04:55:43 +0000 (UTC) User-Agent: K-9 Mail for Android To: emacs-devel@gnu.org,raman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Dec 20 05:55:39 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eRWPp-0006N3-Uu for ged-emacs-devel@m.gmane.org; Wed, 20 Dec 2017 05:55:38 +0100 Original-Received: from localhost ([::1]:58857 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eRWRm-0000Yc-Ob for ged-emacs-devel@m.gmane.org; Tue, 19 Dec 2017 23:57:38 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47490) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eRWRB-0000YP-He for emacs-devel@gnu.org; Tue, 19 Dec 2017 23:57:02 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eRWR7-0007HZ-JF for emacs-devel@gnu.org; Tue, 19 Dec 2017 23:57:01 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:43903) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eRWR7-0007HS-Fh; Tue, 19 Dec 2017 23:56:57 -0500 Original-Received: from [176.12.177.221] (port=40832 helo=[10.213.2.34]) by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1eRWR6-0002b8-CP; Tue, 19 Dec 2017 23:56:57 -0500 In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:221268 Archived-At: On December 20, 2017 6:09:24 AM GMT+02:00, raman wrote= : > This is in emacs from Git@Head -- though the issue has been around for > a long time=2E >=20 > If you use EWW to open a Web site -- say=20 > http://www=2Ecnn=2Ecom --- then do M-x list-processes --- you see tha= t > there is a "open" connection to www=2Ecnn=2Ecom hanging around (likely > because of http keep-alive?) -- not sure=2E=20 >=20 > There is no such connection hanging around if you open www=2Egnu=2Eorg= =2E >=20 > 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=2E Killing those > hanging connections with delete-process immediately gets EWW working > again --- e=2Eg=2E killing those connections with the following loop: >=20 > (cl-loop=20 > for p in (process-list) > when (string-match "www" (process-name p)) > do (delete-process p)) I see such connections in the process list for gnu=2Eorg as well=2E Moreover, if I open cnn=2Ecom in a browser, netstat shows me connections w= aiting to various addresses in cnn=2Ecom domain, exactly like I see in Emac= s=2E On what OS do you get "nothing" after some such open connections?