[issue4791] retrlines('LIST') and dir hang at end of listing in ftplib (python3.0)

STINNER Victor report at bugs.python.org
Tue Jan 6 00:04:08 CET 2009


STINNER Victor <victor.stinner at haypocalc.com> added the comment:

Patch: SocketIO.close() decrements the io reference of its socket, so 
socket.close() will really close the socket.

About the FTP server ftp2.edgecastcdn.net, it looks like the server 
doesn't write "226 Transfert completed" until the data socket is 
really closed. The server says that it's running EdgeFTPD 1.1. nmap 
says that the ftp server is ProFTPD 1.2.10 running on Linux 2.6.

----------
keywords: +patch
Added file: http://bugs.python.org/file12606/socket_real_close.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4791>
_______________________________________


More information about the Python-bugs-list mailing list