Thread: List timeout
View Single Post
Old 04-16-2011, 02:14 PM  
Yil
Too much time...
 
Join Date: May 2005
Posts: 1,194
Default

Something changed then... Here's some results from a local test server I'm beating to death:

v4.0.0.1525:
[14:54:34] [R] LIST -alR
[14:54:34] [R] Connected. Negotiating SSL session
[14:54:35] [R] 150 Opening ASCII mode data connection for directory listing using SSL/TLS.
[14:54:35] [R] TLSv1 negotiation successful...
[14:54:35] [R] TLSv1 encrypted session using cipher ECDHE-RSA-AES256-SHA (256 bits)
[14:55:05] [R] Connection lost: xyz - Admin - Localhost

4.0.0.1503:
[15:02:02] [R] LIST -alR
[15:02:02] [R] Connected. Negotiating TLSv1 session
[15:02:03] [R] 150 Opening ASCII mode data connection for directory listing using SSL/TLS.
[15:02:03] [R] TLSv1 negotiation successful...
[15:02:03] [R] TLSv1 encrypted session using cipher ECDHE-RSA-AES256-SHA (256 bits)
[15:03:03] [R] Connection lost: ioFTPD - local
[15:03:03] [R] List Complete: 2.93 MB in 1 minute 1 second (48.7 KB/s)

3.7.9.1401:
[15:03:07] [R] LIST -alR
[15:03:07] [R] Connected. Negotiating TLSv1 session
[15:03:08] [R] 150 Opening ASCII mode data connection for directory listing using SSL/TLS.
[15:03:08] [R] TLSv1 negotiation successful...
[15:03:08] [R] TLSv1 encrypted session using cipher DHE-RSA-AES256-SHA (256 bits)
[15:05:47] [R] Connection lost: xyz - Admin


2 minutes back in 1401, 1 minute at 1503, 30 seconds at 1525. I didn't re-test 1401 but the others are repeatable and because they all differ it isn't an ioFTPD timeout...

I'm not sure what you meant by 'The connection timeout value in the Preferences dialog will override the 2 minute command limit if larger than 2 minutes'. I'm talking about raising the command timeout so you can do things like 'site wipe' or 'site search' or 'site rescan' and not get the control connection broken in 2 minutes if no response has been sent from the server. I like no timeout if interactive, but otherwise using the 'no data transmitted' option seems like it would make sense, especially since it's adjustable, even though it's currently applied only to data channel transfers.

Update: just to be clear. The listing should be over 10MB in length so b1503 didn't complete, but it might have thought it did because it displayed results in the listing window whereas the other 2 didn't show anything...
Yil is offline