[issue10808] ssl unwrap fails with Error 0

Antoine Pitrou report at bugs.python.org
Fri Jan 7 19:23:30 CET 2011


Antoine Pitrou <pitrou at 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 <report at bugs.python.org>
<http://bugs.python.org/issue10808>
_______________________________________


More information about the Python-bugs-list mailing list