[Twisted-Python] ftp: LIST blocking issues
Andy Gayton
andy at thecablelounge.com
Mon Sep 13 00:10:53 EDT 2004
Hi there,
I'm finding that the ftp server hangs the client when performing a LIST.
I thought it was something to do with what I was doing, but find it
happens with the standard tap anonymous ftp server as well.
It looks like processCommand adds requests to a blocked queue if
dtpInstance is None - which it is in my case:
----
2004/09/13 14:03 EST [FTP,0,127.0.0.1] 'PORT 127,0,0,1,152,65'
2004/09/13 14:03 EST [FTP,0,127.0.0.1] processing command ['PORT',
'127,0,0,1,152,65']
2004/09/13 14:03 EST [FTP,0,127.0.0.1] FTP.processCommand: cmd = PORT,
args = ('127,0,0,1,152,65',)
2004/09/13 14:03 EST [FTP,0,127.0.0.1] FTP.processCommand: cmd PORT in
blockingCommands
2004/09/13 14:03 EST [FTP,0,127.0.0.1] FTP.processCommand:
self.dtpInstance = None
2004/09/13 14:03 EST [FTP,0,127.0.0.1] during dtp setup, blocked =
[('PORT', ('127,0,0,1,152,65',))]
----
I created the server with 'mktap ftp --root=/tmp' against Twisted trunk
r11660
Is there something I'm missing?
thanks,
Andy.
More information about the Twisted-Python
mailing list