[issue12139] Add CCC command support to ftplib
Giampaolo Rodola'
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:
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.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12139>
_______________________________________
More information about the Python-bugs-list
mailing list