From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/18420 Path: news.gmane.org!.POSTED!not-for-mail From: Sebastian Krause Newsgroups: gmane.emacs.gnus.user Subject: Transparently reconnect to servers after a system suspend Date: Sat, 15 Oct 2016 09:43:14 +0200 Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1476521080 3517 195.159.176.226 (15 Oct 2016 08:44:40 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 15 Oct 2016 08:44:40 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (darwin) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Sat Oct 15 10:44:34 2016 Return-path: Envelope-to: gegu-info-gnus-english@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 1bvKa0-0008R7-8f for gegu-info-gnus-english@m.gmane.org; Sat, 15 Oct 2016 10:44:32 +0200 Original-Received: from localhost ([::1]:50945 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bvKZy-0002cQ-4v for gegu-info-gnus-english@m.gmane.org; Sat, 15 Oct 2016 04:44:30 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45315) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bvJcu-0004vf-33 for info-gnus-english@gnu.org; Sat, 15 Oct 2016 03:43:29 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bvJcq-0002z4-R3 for info-gnus-english@gnu.org; Sat, 15 Oct 2016 03:43:27 -0400 Original-Received: from leo.uberspace.de ([95.143.172.56]:51142) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1bvJcq-0002y1-Fj for info-gnus-english@gnu.org; Sat, 15 Oct 2016 03:43:24 -0400 Original-Received: (qmail 11102 invoked from network); 15 Oct 2016 07:43:16 -0000 Original-Received: from localhost (HELO localhost) (127.0.0.1) by leo.uberspace.de with SMTP; 15 Oct 2016 07:43:16 -0000 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 95.143.172.56 X-Mailman-Approved-At: Sat, 15 Oct 2016 04:44:25 -0400 X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Original-Sender: "info-gnus-english" Xref: news.gmane.org gmane.emacs.gnus.user:18420 Archived-At: Hi, I have one IMAP and two NNTP servers configured in Gnus, all over SSL using the integrated GnuTLS. When I put my laptop into suspend-to-RAM for a while, the TCP connections will obviously drop eventually, but Gnus doesn't recognize this, so pressing 'g' after the system wake-up will cause Gnus to hang waiting for the TCP connections to respond. I usually resolve that by restarting Gnus with 'C-g' and 'R'. Is there a way for Gnus to quickly detect dropped TCP connections and transparently reconnect when I try to update the group list? Sebastian