Antoine Pitrou <pit...@free.fr> added the comment: > I am not getting the error in the handshake. I am getting it when > transfering data, after a few Kbytes are already transfered.
Your traceback (and mine as well) occurs in wrap_socket() which itself calls do_handshake(). I don't understand how you could have transferred data *before* the SSL session is established. Or perhaps the test you posted doesn't reflect the actual issue? By the way, faulty non-blocking code can work out of pure luck, if the target server and Internet connection is faster than the local computer... ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue12343> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com