This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author kevinwatters
Recipients kevinwatters
Date 2009-05-06.15:45:38
SpamBayes Score 0.00095410657
Marked as misclassified No
Message-id <1241624741.51.0.445724304481.issue5949@psf.upfronthosting.co.za>
In-reply-to
Content
I cannot reproduce this locally yet, but I have several bug reports from users showing 
that IMAP4_SSL connections can get stuck in an infinite loop during logout()

  File "imaplib.pyo", line 529, in logout
  File "imaplib.pyo", line 1059, in _simple_command
  File "imaplib.pyo", line 889, in _command_complete
  File "imaplib.pyo", line 990, in _get_tagged_response
  File "imaplib.pyo", line 907, in _get_response
  File "imaplib.pyo", line 1000, in _get_line
  File "imaplib.pyo", line 1170, in readline
  File "ssl.pyo", line 136, in read

IMAP4_SSL uses ssl.wrap_socket and should probably be passing 
suppress_ragged_eofs=False. Without this, self.sslobj.read() may return '' forever, and 
both IMAP4_SSL.read() and IMAP4_SSL.readline() will spin. With 
suppress_ragged_eofs=False, calling logout() may raise an SSLError instead.

Thoughts?
History
Date User Action Args
2009-05-06 15:45:41kevinwatterssetrecipients: + kevinwatters
2009-05-06 15:45:41kevinwatterssetmessageid: <1241624741.51.0.445724304481.issue5949@psf.upfronthosting.co.za>
2009-05-06 15:45:39kevinwatterslinkissue5949 messages
2009-05-06 15:45:38kevinwatterscreate