From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Reviving Gnus after suspend/hibernation Date: Thu, 27 Oct 2011 20:33:23 -0400 Message-ID: References: <87wrc2qmog.fsf@gnu.org> <877h3ule0y.fsf@lifelogs.com> <87hb2ucox4.fsf@lifelogs.com> <83lis6b8t9.fsf@gnu.org> <8762jajn5q.fsf@lifelogs.com> <87ehxym87k.fsf@lifelogs.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1319762018 2189 80.91.229.12 (28 Oct 2011 00:33:38 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 28 Oct 2011 00:33:38 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Oct 28 02:33:34 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RJaO6-0003nT-K5 for ged-emacs-devel@m.gmane.org; Fri, 28 Oct 2011 02:33:34 +0200 Original-Received: from localhost ([::1]:49196 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RJaO5-0006He-Rp for ged-emacs-devel@m.gmane.org; Thu, 27 Oct 2011 20:33:33 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:42313) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RJaO3-0006HX-C0 for emacs-devel@gnu.org; Thu, 27 Oct 2011 20:33:32 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RJaO2-00040X-9N for emacs-devel@gnu.org; Thu, 27 Oct 2011 20:33:31 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.183]:19769 helo=ironport2-out.pppoe.ca) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RJaO2-0003uK-2Z for emacs-devel@gnu.org; Thu, 27 Oct 2011 20:33:30 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AusFAF73qU5MCrTo/2dsb2JhbABCmlSPDYEGgXIBAQQBVigLCzQSFBgNiDm1TYh+BKFDhEU X-IronPort-AV: E=Sophos;i="4.69,415,1315195200"; d="scan'208";a="144857509" Original-Received: from 76-10-180-232.dsl.teksavvy.com (HELO pastel.home) ([76.10.180.232]) by ironport2-out.pppoe.ca with ESMTP/TLS/ADH-AES256-SHA; 27 Oct 2011 20:33:24 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id D40EF59208; Thu, 27 Oct 2011 20:33:23 -0400 (EDT) In-Reply-To: <87ehxym87k.fsf@lifelogs.com> (Ted Zlatanov's message of "Thu, 27 Oct 2011 16:32:31 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.90 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.183 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:145692 Archived-At: > You're right, but on suspend&resume we should not have to wait for the > TCP connection to time out. Let's assume it's closed in that specific > case and set the keepalive for general use. It strikes me as a non-Emacs-specific problem, so maybe the OS should kill its TCP connection between suspend and resume. > Is this just a GnuTLS problem? Does any of the rest of Emacs have > issues with hung connections? I've been suffering from it for many years. I'm not sure if it affects NNTP connections (it probably does) but it for sure affects nnimap with gnutls-cli. SM> - we should figure out what other applications (e.g. other MUAs) do. > I think just reopening the connection is reasonable, no? What else > needs to be figured out? As I said, I can't think of any reason why we should be the only ones to face this problem, so it'd be good to know how others dealt with it. Stefan