[issue1251] ssl module doesn't support non-blocking handshakes
Senthil
report at bugs.python.org
Tue Sep 2 21:38:20 CEST 2008
Senthil <orsenthil at gmail.com> added the comment:
Yes Janssen, I checked again and found it implemented in both trunk
(py26) and py3k. All the tests pass as well.
However, in one of my testcases for issue1424152, where I expected the
timeout to happen for do_handshake(), it did not take effect. I shall
look for the reasons.
The following is the tail from the traceback.
File "/usr/local/lib/python2.6/httplib.py", line 1095, in connect
self.sock = ssl.wrap_socket(sock, self.key_file, self.cert_file)
File "/usr/local/lib/python2.6/ssl.py", line 316, in wrap_socket
suppress_ragged_eofs=suppress_ragged_eofs)
File "/usr/local/lib/python2.6/ssl.py", line 116, in __init__
self.do_handshake()
File "/usr/local/lib/python2.6/ssl.py", line 260, in do_handshake
self._sslobj.do_handshake()
KeyboardInterrupt
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue1251>
_______________________________________
More information about the Python-bugs-list
mailing list