Author dsiroky
Recipients dsiroky
Date 2011-05-27.18:06:48
SpamBayes Score 0.00122521
Marked as misclassified No
Message-id <1306519609.32.0.152577977388.issue12197@psf.upfronthosting.co.za>
In-reply-to
Content
Trying to send large bulk of data in MS Windows via non-blocking SSLSocket raises an exception but part of the data is delivered.

E.g.

ssl_socket.write(b"a" * 200000)

raises

ssl.SSLError: [Errno 3] _ssl.c:1126: The operation did not complete (write)

There is no way to get the sent bytes count which is essential in non-blocking communication.

ssl_socket.send() returns 0. This should be unified with posix behavior.
History
Date User Action Args
2011-05-27 18:06:49dsirokysetrecipients: + dsiroky
2011-05-27 18:06:49dsirokysetmessageid: <1306519609.32.0.152577977388.issue12197@psf.upfronthosting.co.za>
2011-05-27 18:06:48dsirokylinkissue12197 messages
2011-05-27 18:06:48dsirokycreate