This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Kaulkwappe
Recipients Kaulkwappe, christian.heimes, methane
Date 2018-04-18.12:57:22
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1524056242.68.0.682650639539.issue33307@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2018-04-18 12:57:22Kaulkwappesetrecipients: + Kaulkwappe, christian.heimes, methane
2018-04-18 12:57:22Kaulkwappesetmessageid: <1524056242.68.0.682650639539.issue33307@psf.upfronthosting.co.za>
2018-04-18 12:57:22Kaulkwappelinkissue33307 messages
2018-04-18 12:57:22Kaulkwappecreate