This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pitrou
Recipients Arfrever, flox, giampaolo.rodola, janssen, jcea, pitrou, vstinner
Date 2010-04-06.10:45:41
SpamBayes Score 1.676723e-06
Marked as misclassified No
Message-id <1270550743.62.0.183437786159.issue8108@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2010-04-06 10:45:43pitrousetrecipients: + pitrou, jcea, janssen, vstinner, giampaolo.rodola, Arfrever, flox
2010-04-06 10:45:43pitrousetmessageid: <1270550743.62.0.183437786159.issue8108@psf.upfronthosting.co.za>
2010-04-06 10:45:42pitroulinkissue8108 messages
2010-04-06 10:45:41pitroucreate