Ftpserver Control Connection times out while data transfer
----------------------------------------------------------

                 Key: FTPSERVER-170
                 URL: https://issues.apache.org/jira/browse/FTPSERVER-170
             Project: FtpServer
          Issue Type: Bug
          Components: Core
    Affects Versions: 1.0-M2
            Reporter: Jens Viebig


Seems the M2-Version has a timeout issue or i configured something wrong. The 
control connection times out even if there is a data connection open and a 
transfer running.

For testing i set all timeout values to 10 seconds.

1. Open a connection to the ftp server
2. do some browsing to a directory
3. Start a file transfer with a big file
4. Control Connection times out after 10 seconds , Data transfer is still 
runnig fine and finishes Ok
5. Control Connection is gone after file transfer

Thats my config file. I have set very short timeout-values so it is easy to 
reproduce the error. You can also use bigger timeout values and a very big file 
to test.

<?xml version="1.0" encoding="UTF-8"?>
<server xmlns="http://mina.apache.org/ftpserver/spring/v1";
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
       xsi:schemaLocation="http://mina.apache.org/ftpserver/spring/v1 
http://mina.apache.org/ftpserver/ftpserver-1.0.xsd";
       id="proxsys-ftpd"
       max-logins="100"
       anon-enabled="false"
       max-anon-logins="0"
       max-login-failures="3"
       login-failure-delay="500">
 <listeners>
                  <nio-listener name="default" port="21" idle-timeout="10">
                    <data-connection idle-timeout="10">
                             <active enabled="true"/>
                             <passive ports="1024-1032"/>
                          </data-connection>
                       </nio-listener>
               </listeners>
</server>




-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to