[issue5949] IMAP4_SSL spin because of SSLSocket.suppress_ragged_eofs

Kevin Watters report at bugs.python.org
Thu May 7 23:31:27 CEST 2009


Kevin Watters <kevinwatters at gmail.com> added the comment:

I wasn't sure--the docs for SSLSocket.read 
(http://docs.python.org/library/ssl.html#ssl.SSLSocket.read) say

  "Reads up to nbytes bytes from the SSL-encrypted channel and returns 
them."

With that "up to" I wasn't sure that an empty string would necessarily 
mean EOF--I'm not familiar enough with _ssl.c to say either way.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5949>
_______________________________________


More information about the Python-bugs-list mailing list