[issue12139] Add CCC command support to ftplib
report at bugs.python.org
Thu Jun 30 18:25:26 CEST 2011
Giampaolo Rodola' <g.rodola at gmail.com> added the comment:
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:
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.
Python tracker <report at bugs.python.org>
More information about the Python-bugs-list