From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.bugs Subject: bug#16026: Gnus shouldn't use old connections Date: Mon, 30 Jan 2017 15:12:37 -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: <87a8a8paru.fsf@lifelogs.com> References: <86wqjnwa9u.fsf@somewhere.org> <871u1s38m3.fsf@flea.lifelogs.com> <877f5j2i67.fsf@gnus.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1485807234 28165 195.159.176.226 (30 Jan 2017 20:13:54 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 30 Jan 2017 20:13:54 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) Cc: Sebastien Vauban , Lars Ingebrigtsen , 16026@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jan 30 21:13:50 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1cYIKk-00077G-JD for geb-bug-gnu-emacs@m.gmane.org; Mon, 30 Jan 2017 21:13:50 +0100 Original-Received: from localhost ([::1]:34900 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cYIKq-00040r-43 for geb-bug-gnu-emacs@m.gmane.org; Mon, 30 Jan 2017 15:13:56 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52171) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cYIK2-0003X8-3E for bug-gnu-emacs@gnu.org; Mon, 30 Jan 2017 15:13:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cYIJy-0004WQ-UL for bug-gnu-emacs@gnu.org; Mon, 30 Jan 2017 15:13:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:53192) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cYIJy-0004WM-Qq for bug-gnu-emacs@gnu.org; Mon, 30 Jan 2017 15:13:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cYIJy-0001mf-8f; Mon, 30 Jan 2017 15:13: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: Mon, 30 Jan 2017 20:13:02 +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.14858071666797 (code B ref 16026); Mon, 30 Jan 2017 20:13:02 +0000 Original-Received: (at 16026) by debbugs.gnu.org; 30 Jan 2017 20:12:46 +0000 Original-Received: from localhost ([127.0.0.1]:51391 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cYIJh-0001lX-L8 for submit@debbugs.gnu.org; Mon, 30 Jan 2017 15:12:46 -0500 Original-Received: from mail-qt0-f179.google.com ([209.85.216.179]:34282) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cYIJg-0001l5-7E for 16026@debbugs.gnu.org; Mon, 30 Jan 2017 15:12:44 -0500 Original-Received: by mail-qt0-f179.google.com with SMTP id w20so146009029qtb.1 for <16026@debbugs.gnu.org>; Mon, 30 Jan 2017 12:12:44 -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; bh=82y3OGYKK0b88hkLtA/XW7plgjl0trBnRUuA7t9DDHA=; b=A66qzHGWu1BnA2+yUKd1j2wxqOK7JLWQQPBNEILrMakl8Hog0/wbqXuNBH5SHlnuhF 2RW6vepcw5P01DhKjjgOhDwFYDg3mcHdDPcZUxOs/M2Zq3Ve99htBzMBvEsmGVXP86ze GSPu+cWTzmumYJBfRQeYfjhA7DoENiFeCU4H8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; 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; bh=82y3OGYKK0b88hkLtA/XW7plgjl0trBnRUuA7t9DDHA=; b=pFZLq2ukm8iKkVj8BrlMqAy+y8gsQlqWErjGlmqrbAowPjpzkpskS8s960cxG9KABZ Q6plXNshpNb5Z5R3XGw9ASqu0FHebKi7Q38yT+SIqC0fsmxwtzhsjNgq+tUy3PTw93v8 20tLVXYTLbxsA+kOGo/rGYWVD78PsoECjnhgk46fm5zpIhs8wJdTbf+/ZYFlsQvrUBqI E96Ra7GUAVTY72nylz7bSBKw/4KQnREhhuafKHNlUT24VRnfYnNmhd+vt3mRfbTBK38Q 6YUObxez0WXC6ZxCjyxJn/2de/V2fN2/kOAqPoznDd3EBTLEdjgiGYRTPZTVTXwrlDxS gpiA== X-Gm-Message-State: AIkVDXJ14nz8Hyo0vowFMg0VaibtvfP7goLcsOIBd63TEjhP0oguAkTYSW2syu5Z0Cnexg== X-Received: by 10.237.36.12 with SMTP id r12mr20826037qtc.32.1485807158502; Mon, 30 Jan 2017 12:12:38 -0800 (PST) Original-Received: from flea (c-98-229-60-157.hsd1.ma.comcast.net. [98.229.60.157]) by smtp.gmail.com with ESMTPSA id l51sm13193632qtb.13.2017.01.30.12.12.37 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 30 Jan 2017 12:12:37 -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 "Wed, 25 Jan 2017 13:26:04 -0500") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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" Xref: news.gmane.org gmane.emacs.bugs:128800 Archived-At: On Wed, 25 Jan 2017 13:26:04 -0500 Stefan Monnier wrote: >> There is `nntp-connection-timeout', and nnimap could have something >> similar, I guess. >> The difficulty is in determining what a good timeout should be. If you >> send an EXPUNGE to an IMAP server, it may legitimately take many >> seconds, and you get no output from the server while it's doing this. >> If you kill the connection and reissue the commands, you then get error >> messages, I think? SM> I think in my case a timeout of 30min would cover the main cases already SM> (i.e. the machine was suspended for more than 30min). I would make it a per-connection setting using the scheme that Michael Albinus has implemented. Then it can be set per host etc. Ted