Message315447
Sorry for the misunderstanding, here is the complete example:
socket.setblocking(0)
try:
buffer = socket.recv()
if not buffer:
break
except OSError:
bytes_sent = socket.send(b'a' * 32 * 1024 * 1024)
In this case the socket is ready for sending data and should return the bytes that were actually sent. But when sending a large amount of bytes it every time fails with SSLWantWriteError exception. |
|
Date |
User |
Action |
Args |
2018-04-18 12:57:22 | Kaulkwappe | set | recipients:
+ Kaulkwappe, christian.heimes, methane |
2018-04-18 12:57:22 | Kaulkwappe | set | messageid: <1524056242.68.0.682650639539.issue33307@psf.upfronthosting.co.za> |
2018-04-18 12:57:22 | Kaulkwappe | link | issue33307 messages |
2018-04-18 12:57:22 | Kaulkwappe | create | |
|