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 giampaolo.rodola
Recipients giampaolo.rodola, pitrou, python-dev, vstinner
Date 2011-06-30.16:25:25
SpamBayes Score 1.1625139e-05
Marked as misclassified No
Message-id <1309451126.73.0.918090350973.issue12139@psf.upfronthosting.co.za>
In-reply-to
Content
The culprit here is the dummy FTP test server which does not complete the SSL shutdown procedure successfully.

I believe it's better if we remove the self.client.sendcmd('noop') line.

That's there in order to check that client and server can still "talk" after reverting the connection back to clear-text, but making the server doing this right is quite complicated, see for example:
http://code.google.com/p/pyftpdlib/source/browse/trunk/pyftpdlib/contrib/handlers.py?spec=svn868&r=861#196

I don't want to include and maintain that monster into test_ftplib.py so I think I'll just remove that line from the tests.
History
Date User Action Args
2011-06-30 16:25:26giampaolo.rodolasetrecipients: + giampaolo.rodola, pitrou, vstinner, python-dev
2011-06-30 16:25:26giampaolo.rodolasetmessageid: <1309451126.73.0.918090350973.issue12139@psf.upfronthosting.co.za>
2011-06-30 16:25:26giampaolo.rodolalinkissue12139 messages
2011-06-30 16:25:25giampaolo.rodolacreate