On Tue, Sep 29, 2009 at 12:47 PM, Giampaolo Rodola'
<report@bugs.python.org> wrote:
Giampaolo Rodola' <billiejoex@users.sourceforge.net> added the comment:
Uhm... I'm sorry but actually I'm not sure about this patch anymore.
Now that I look at ssl.py again I'm noticing that send() is trapped in a
"while True" loop as well and the patch doesn't cover it.
Not sure if that has been added recently or it was already there at the
time I submitted the report but it's another thing that need to be
fixed.
Moreover, I'm sure that removing the "while" loop is good for non-
blocking sockets but what about blocking ones?
Are SSL_ERROR_WANT_READ and SSL_ERROR_WANT_WRITE supposed to be raised
in a blocking environment?
No.
If they aren't then the current patch just needs to take care of send()
method too, then it's fine.
Yes, it's fine.
Bill