Message75054
I agree with Giampaolo. In the case of non-blocking sockets, if reading
from the ssl stream fails because there is no data on the socket, then
sitting in a while loop is just going to busy-wait until data is
discovered.
Never mind that the reference to "sendall" should be replaced by recv.
Whether to 'continue' or 'raise' should be determined by whether the
socket is blocking. |
|
Date |
User |
Action |
Args |
2008-10-21 22:30:58 | josiahcarlson | set | recipients:
+ josiahcarlson, janssen, giampaolo.rodola, josiah.carlson, ddvoinikov |
2008-10-21 22:30:58 | josiahcarlson | set | messageid: <1224628258.65.0.40240486015.issue3890@psf.upfronthosting.co.za> |
2008-10-21 22:30:58 | josiahcarlson | link | issue3890 messages |
2008-10-21 22:30:57 | josiahcarlson | create | |
|