Subject: TLS infinite loop

From: Glenn Morris <[email-masked]>
Date: Wed, 27 Aug 2008 16:32:27 -0400

Package: emacs
Version: 23.0.50

(Filing a report for an old FOR-RELEASE item.)

http://lists.gnu.org/archive/html/emacs-devel/2007-09/msg01720.html

Initial report:
  
  This bug takes Gnus and a Gmail account to reproduce.
  
  I am using Gnus 5.110007 from CVS (2007-09-10) and tls.el is from Emacs.
  
  You need to use openssl to see this problem. So first,
  (setq tls-program '("openssl s_client -connect %h:%p -no_ssl2"))
  
  (setq mail-sources
        '((pop :server "pop.gmail.com"
               :port 995
               :user "address@hidden"
               :password "test")
          ))
  
  Make sure that there is at least one new mail in that account.
  
  Now try to retrieve new mail in "misc.mail" by "M-g". You can see that a
  message like "Retrieving message 1 of 1 from pop.gmail.com..." will
  display in the echo area for good and Emacs is frozen until you type
  "C-g" to stop it.
  
  I tried to edebug `pop3-retr' and found out it hangs at
  (pop3-read-response process) at the beginning of the function.