[issue8108] test_ftplib fails with OpenSSL 0.9.8m

Antoine Pitrou report at bugs.python.org
Thu Apr 8 22:15:14 CEST 2010


Antoine Pitrou <pitrou at free.fr> added the comment:

My analysis of SSL_shutdown() was missing something: timeout sockets are really non-blocking sockets in disguise. I guess it's never too late to notice.

OpenSSL doesn't know about the timeout, so we have to do it ourselves. Ironically, the infrastructure is already in place in _ssl.c, and used for read() and write() methods.

So here is a new patch, taking this into account.

----------
Added file: http://bugs.python.org/file16826/newssl5.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8108>
_______________________________________


More information about the Python-bugs-list mailing list