From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.bugs Subject: bug#16026: Gnus shouldn't use old connections Date: Wed, 04 Dec 2013 11:04:52 -0500 Organization: =?UTF-8?Q?=D0=A2=D0=B5=D0=BE=D0=B4=D0=BE=D1=80_?= =?UTF-8?Q?=D0=97=D0=BB=D0=B0=D1=82=D0=B0=D0=BD=D0=BE=D0=B2?= @ Cienfuegos Message-ID: <871u1s38m3.fsf@flea.lifelogs.com> References: <86wqjnwa9u.fsf@somewhere.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1386173059 19911 80.91.229.3 (4 Dec 2013 16:04:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 4 Dec 2013 16:04:19 +0000 (UTC) Cc: Sebastien Vauban , 16026@debbugs.gnu.org To: Stefan Monnier , Lars Magne Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Dec 04 17:04:24 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VoEvx-0007jv-Uc for geb-bug-gnu-emacs@m.gmane.org; Wed, 04 Dec 2013 17:04:18 +0100 Original-Received: from localhost ([::1]:49066 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VoEvx-0006dX-GD for geb-bug-gnu-emacs@m.gmane.org; Wed, 04 Dec 2013 11:04:17 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51230) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VoEvp-0006VS-58 for bug-gnu-emacs@gnu.org; Wed, 04 Dec 2013 11:04:13 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VoEvk-0006ds-Ce for bug-gnu-emacs@gnu.org; Wed, 04 Dec 2013 11:04:09 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:44121) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VoEvk-0006do-67 for bug-gnu-emacs@gnu.org; Wed, 04 Dec 2013 11:04:04 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VoEvi-0000fI-0o; Wed, 04 Dec 2013 11:04:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Ted Zlatanov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bugs@gnus.org Resent-Date: Wed, 04 Dec 2013 16:04:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16026 X-GNU-PR-Package: emacs,gnus X-GNU-PR-Keywords: Original-Received: via spool by 16026-submit@debbugs.gnu.org id=B16026.13861730362543 (code B ref 16026); Wed, 04 Dec 2013 16:04:01 +0000 Original-Received: (at 16026) by debbugs.gnu.org; 4 Dec 2013 16:03:56 +0000 Original-Received: from localhost ([127.0.0.1]:58139 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VoEvb-0000ew-Ht for submit@debbugs.gnu.org; Wed, 04 Dec 2013 11:03:55 -0500 Original-Received: from mail-qc0-f169.google.com ([209.85.216.169]:38725) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VoEvW-0000ek-HA for 16026@debbugs.gnu.org; Wed, 04 Dec 2013 11:03:51 -0500 Original-Received: by mail-qc0-f169.google.com with SMTP id r5so3710777qcx.28 for <16026@debbugs.gnu.org>; Wed, 04 Dec 2013 08:03:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lifelogs.com; s=google; h=from:to:cc:subject:organization:references:mail-copies-to :gmane-reply-to-list:date:in-reply-to:message-id:user-agent :mime-version:content-type; bh=lZSuP1go8zozaAyfUF9ssI7bZ/72iY7hrEocedxjmn0=; b=FNMmA9XTlEqoaX5/pINdGL06aZeLhuvdstITt+wbUsgegB0qymV9kKoDMwKzfTalTR pH36KJ1f3J1CGzQwOyipYEJ0Ss/VKtplNuA0MtO35X7jnlO2diFpMRuPvfij/JFelmLF 0Cwm7ZCcACeZVjmNRGloF8JptnsaHTAPVHkXY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:organization:references :mail-copies-to:gmane-reply-to-list:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=lZSuP1go8zozaAyfUF9ssI7bZ/72iY7hrEocedxjmn0=; b=DnT0+QAVtJ4mAer/sCsoc+av1/Dx119e3Sa7sM63bR5DRNMbOro0YWwl5z0QG0RR03 Qy9usbr1DTPAgvYVJjTfP1dBFbca9DlEZ1wf4Yw9UkD7UuGBKk9uYXlyND78Cgjy9xBu Upbb413/hxJq2o8VqAUnis/IrWtj+gQcby652HFAdRtxFjGYBAXkYHlDlZhiuQHEbOyM TE8E3jkkVye0yobqcCMNY9CmTkiBfPqSWYlP7FCDy3i8i0xJi7W2KrCFo2TNLF2UiF9G JKMupVmaj2J0L+N16itArf3rPnh2yxoYGLtgQzmodzgPk8K4JagELhqt/HocHSkrEwIb XvbQ== X-Gm-Message-State: ALoCoQnqjC52wLVqPw8vm/+obxrssfVCYXmKJsTBUkQ2oKFl8RrTA6Cc1cO1XuuOhyO+lHaXtE2r X-Received: by 10.49.36.161 with SMTP id r1mr133711459qej.4.1386173029791; Wed, 04 Dec 2013 08:03:49 -0800 (PST) Original-Received: from flea.lifelogs.com (c-98-229-61-72.hsd1.ma.comcast.net. [98.229.61.72]) by mx.google.com with ESMTPSA id i7sm18900496qeo.7.2013.12.04.08.03.48 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 04 Dec 2013 08:03:49 -0800 (PST) X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6; d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" Mail-Copies-To: never Gmane-Reply-To-List: yes In-Reply-To: (Stefan Monnier's message of "Mon, 02 Dec 2013 11:12:20 -0500") User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:81370 Archived-At: On Mon, 02 Dec 2013 11:12:20 -0500 Stefan Monnier wrote: >>> Gnus should consider a connection as dead if it has been idle for more >>> than some timeout value (e.g. 5 minutes). This bites me every day when >>> I wake up my computer: if I just hit `g' to refresh the *Group* buffer, >>> it *always* hangs (I guess it would timeout but only after a long wait, >>> like 2h). Instead, I have to go to *Server*, close each server, go back >>> to *Group* and then hit `g'. >> Weird. I do the same as you, or almost [1], and don't have that problem. SM> Of course, the occurrence of my particular problem depends on various SM> factors, such as whether you get the same IP address when you wake up, SM> whether you're in the same network when you wake up, whether you're SM> behind a NAT, how long the NAT router remembers connections, whether the SM> NAT router's own IP has changed, ... In the Gnus mailing list we discussed an easy solution (just close all server connections before `g') but providing that as a user-level defcustom feels like giving up. See http://thread.gmane.org/gmane.emacs.gnus.general/80262/focus=83843 I suggested waiting for Lars' opinion. Ted