Message138434
Antoine, now I am worried about writes, since my usual aproach would be something like this:
"""
select says that it is Ok to try to write
buf = buf[socket.send(buf):]
"""
If now I can get a "retry" while writing, what is the logic?. Does Python retry automatically, internally?. Do I get a frame worth of ack and then the exception (in the next loop iteration), garanteeing nothing was written, or what?.
I think SSL module documentation should write down this captchas when using non-blocking sockets. That is, that read/write can raise exceptions even if "select" was OK. |
|
Date |
User |
Action |
Args |
2011-06-16 13:57:28 | jcea | set | recipients:
+ jcea, pitrou, vstinner |
2011-06-16 13:57:28 | jcea | set | messageid: <1308232648.4.0.685425701824.issue12343@psf.upfronthosting.co.za> |
2011-06-16 13:57:27 | jcea | link | issue12343 messages |
2011-06-16 13:57:27 | jcea | create | |
|