Giampaolo Rodola' <billiej...@users.sourceforge.net> added the comment:
I'm sorry, I realized right now that settimeout() should be used also *before* invoking accept(), to avoid the client to stall in case the server does not establish any connection. The second patch in attachment does that by using settimeout() straight into FTP.makeport() method. Added file: http://bugs.python.org/file12643/ftplib.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue4814> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com