Antoine Pitrou <pit...@free.fr> added the comment: As we discussed on IRC, there are two things here:
- unwrap() can give an error because it tries to shutdown the SSL layer cleanly, and the other side doesn't support it or is already closed; unwrap() is useful mostly if you plan to use the clear-text layer afterwards, otherwise you can just call shutdown(socket.SHUT_RDWR) and then close() - the error message and errnos are totally bogus, but I'm afraid that's because of OpenSSL giving us this information. ---------- resolution: -> wont fix status: open -> closed versions: +Python 3.2 -Python 2.6 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue10808> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com