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-08.18:24:42
SpamBayes Score 0.0010228944
Marked as misclassified No
Message-id <1270751086.33.0.540322631102.issue8108@psf.upfronthosting.co.za>
In-reply-to
Content
Ok, I raised the "errno 0" issue on the openssl mailing-list, and I had a nice response by Darryl Miles here:
http://www.mail-archive.com/openssl-users@openssl.org/msg60710.html

The bottom line is that any "socket error" return from unwrap(), that is any "SSL_ERROR_SYSCALL" return from SSL_shutdown(), means that the socket is closed (abruptly or not). In this case, we can't do anything except ignore the error in test_ftplib.

We should also remove the special casing hack in _ssl.c, even though a socket error with "errno 0" isn't particularly informative.

Here is a new patch.
History
Date User Action Args
2010-04-08 18:24:46pitrousetrecipients: + pitrou, jcea, janssen, vstinner, giampaolo.rodola, Arfrever, flox
2010-04-08 18:24:46pitrousetmessageid: <1270751086.33.0.540322631102.issue8108@psf.upfronthosting.co.za>
2010-04-08 18:24:44pitroulinkissue8108 messages
2010-04-08 18:24:44pitroucreate