From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Elias Oltmanns Newsgroups: gmane.emacs.devel Subject: Re: 23.0.50; TLS infinite loop Date: Wed, 19 Sep 2007 00:20:53 +0200 Message-ID: <87hclr62ey.fsf@denkblock.local> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1190154101 24756 80.91.229.12 (18 Sep 2007 22:21:41 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 18 Sep 2007 22:21:41 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Sep 19 00:21:41 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IXlRs-0002GZ-Od for ged-emacs-devel@m.gmane.org; Wed, 19 Sep 2007 00:21:41 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IXlRr-00063X-7h for ged-emacs-devel@m.gmane.org; Tue, 18 Sep 2007 18:21:39 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IXlRS-0005sO-FS for emacs-devel@gnu.org; Tue, 18 Sep 2007 18:21:14 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IXlRR-0005rg-K9 for emacs-devel@gnu.org; Tue, 18 Sep 2007 18:21:14 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IXlRR-0005rd-Ah for emacs-devel@gnu.org; Tue, 18 Sep 2007 18:21:13 -0400 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1IXlRQ-0003lw-VV for emacs-devel@gnu.org; Tue, 18 Sep 2007 18:21:13 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1IXlRF-0000cC-Vj for emacs-devel@gnu.org; Wed, 19 Sep 2007 00:21:01 +0200 Original-Received: from pd9e85365.dip.t-dialin.net ([217.232.83.101]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 19 Sep 2007 00:21:01 +0200 Original-Received: from eo by pd9e85365.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 19 Sep 2007 00:21:01 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 35 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: pd9e85365.dip.t-dialin.net User-Agent: Gnus/5.110007 (No Gnus v0.7) Cancel-Lock: sha1:F4gSrjIt8XPxkPzTcOK52BbpsyU= X-Detected-Kernel: Linux 2.6, seldom 2.4 (older, 4) 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:79241 Archived-At: Leo wrote: > This bug takes Gnus and a Gmail account to reproduce. Well, I don't have a Gmail account but ... > > I am using Gnus 5.110007 from CVS (2007-09-10) and tls.el is from >Emacs. Are they different? I only know about emacs 22 and there tls.el is exactly the same as in the gnus trunk. > > You need to use openssl to see this problem. [...] > I tried to edebug `pop3-retr' and found out it hangs at > (pop3-read-response process) at the beginning of the function. So, what about edebugging pop3-read-response then? > > [BTW, using gnutls is even more problematic. I have reported but no >one > is fixing it. > http://news.gmane.org/group/gmane.emacs.gnus.user/thread=8526] I still don't understand what makes you so sure that this is a bug in tls.el. Honestly, try to debug pop3.el. Could it just be, for instance, that Gmail doen't send \r\n, as expected, but just \n or something of the sort. You should see what happens wen stepping through pop3-read-response. Good luck, Elias