New submission from David Siroky <sir...@dasir.cz>:

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.

----------
components: Extension Modules, Windows
files: ssl_sock_test.py
messages: 137092
nosy: dsiroky
priority: normal
severity: normal
status: open
title: non-blocking SSL write in Windows sends large data but raises exception
type: behavior
versions: Python 2.6, Python 3.2
Added file: http://bugs.python.org/file22157/ssl_sock_test.py

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue12197>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to