Antoine Pitrou <pit...@free.fr> added the comment: Ok, here is a patch fixing all test_ftplib failures (tested with openssl 0.9.8k and 1.0.0). There are a couple of fixes here: - a workaround for the strange SSL_shutdown() error return, also witnessed by LightHTTPd users (see URL in comments) - an auto-retry for SSLSocket.unwrap() in blocking mode - a bizarre issue in test_ftplib where DTPHandler.handle_close() gets called many times in a test (test_data_connection)
I think the SSL_shutdown() issue should be checked on the OpenSSL mailing-list. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue8108> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com