Bill Janssen <bill.jans...@gmail.com> added the comment:
On Tue, Sep 29, 2009 at 12:47 PM, Giampaolo Rodola'
<rep...@bugs.python.org>wrote:
>
> Giampaolo Rodola' <billiej...@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
----------
Added file: http://bugs.python.org/file15010/unnamed
_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue3890>
_______________________________________
<br><br><div class="gmail_quote">On Tue, Sep 29, 2009 at 12:47 PM, Giampaolo
Rodola' <span dir="ltr"><<a
href="mailto:rep...@bugs.python.org">rep...@bugs.python.org</a>></span>
wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid
rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
Giampaolo Rodola' <<a
href="mailto:billiej...@users.sourceforge.net">billiej...@users.sourceforge.net</a>>
added the comment:<br>
<br>
Uhm... I'm sorry but actually I'm not sure about this patch anymore.<br>
Now that I look at ssl.py again I'm noticing that send() is trapped in a<br>
"while True" loop as well and the patch doesn't cover it.<br>
<br>
Not sure if that has been added recently or it was already there at the<br>
time I submitted the report but it's another thing that need to be<br>
fixed.<br>
<br>
<br>
Moreover, I'm sure that removing the "while" loop is good for
non-<br>
blocking sockets but what about blocking ones?<br>
Are SSL_ERROR_WANT_READ and SSL_ERROR_WANT_WRITE supposed to be raised<br>
in a blocking
environment?<br></blockquote><div><br>No.<br>Â <br></div><blockquote
class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin:
0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
If they aren't then the current patch just needs to take care of send()<br>
method too, then it's fine.<br></blockquote><div><br>Yes, it's
fine.<br><br>Bill <br></div></div><br>
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com