[issue8240] ssl.SSLSocket.write may fail on non-blocking sockets
Cyril
report at bugs.python.org
Fri Mar 26 16:35:20 CET 2010
Cyril <cbay at excellency.fr> added the comment:
The following test case exhibits the bug, but I'm not sure it will fail every time as it depends on 2 things:
- your connection speed (I guess)
- I used the following trick to have 2 identical strings with a different id (memory address):
data = (('xx'[0] + 'xx'[1:])*10000, ('xx'[0] + 'xx'[1:])*10000)
I'm not sure it will work all the time though.
----------
Added file: http://bugs.python.org/file16669/test_ssl.py.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8240>
_______________________________________
More information about the Python-bugs-list
mailing list