From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: gnus makes emacs lose response Date: Thu, 24 Aug 2006 09:51:49 +0200 Message-ID: References: <17645.6709.53699.324551@rgrjr.dyndns.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1156406032 21556 80.91.229.2 (24 Aug 2006 07:53:52 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 24 Aug 2006 07:53:52 +0000 (UTC) Cc: angeli@iwi.uni-sb.de, rms@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Aug 24 09:53:47 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GGA21-0002kJ-8z for ged-emacs-devel@m.gmane.org; Thu, 24 Aug 2006 09:53:41 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GGA20-0000Tt-77 for ged-emacs-devel@m.gmane.org; Thu, 24 Aug 2006 03:53:40 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GGA1V-0000Py-73 for emacs-devel@gnu.org; Thu, 24 Aug 2006 03:53:09 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GGA1T-0000OB-7f for emacs-devel@gnu.org; Thu, 24 Aug 2006 03:53:08 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GGA1S-0000Ng-Jh for emacs-devel@gnu.org; Thu, 24 Aug 2006 03:53:06 -0400 Original-Received: from [195.41.46.237] (helo=pfepc.post.tele.dk) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GGA9Q-0002H7-Bd; Thu, 24 Aug 2006 04:01:20 -0400 Original-Received: from kfs-l.imdomain.dk.cua.dk (unknown [80.165.4.124]) by pfepc.post.tele.dk (Postfix) with SMTP id 6430F8A0010; Thu, 24 Aug 2006 09:53:02 +0200 (CEST) Original-To: Bob Rogers In-Reply-To: <17645.6709.53699.324551@rgrjr.dyndns.org> (Bob Rogers's message of "Wed, 23 Aug 2006 23:17:09 -0400") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:58796 Archived-At: Bob Rogers writes: > Would it be possible for Gnus to request a timeout when invoking > openssl? I'm afraid I don't know enough about either to make a more > detailed suggestion, let alone whether this approach could work. (And > http://www.openssl.org/docs/apps/s_client.html doesn't show any > timeout-related option, which is not hopeful.) > If not, then restarting the connection after a suitable timeout is > probably the best available technology. That's what I suggested Gnus should do, i.e. Start a timer when it tries to open/use the connection. If connection is opened/response is received, cancel the timer. If timer runs out, close the connection and try again. -- Kim F. Storm http://www.cua.dk