2009/2/3 Ashish <[email protected]>

> On Tue, Feb 3, 2009 at 2:38 PM, David Latorre <[email protected]> wrote:
> > Hello Mohit,
> > My advice is to update to the latest version of FtpServer. A lot of
> > improvements and bugfixes have been added since your version was
> released.
> > From and old config file of mine i see this:
> >
> > config.connection-manager.default-idle-time=1000
> > config.connection-manager.timeout-poll-inverval=60
>
> David, could you point me to the class where this handling is done.
> Is it in NioListener.java ?
>
> acceptor.getSessionConfig().setIdleTime(IdleStatus.BOTH_IDLE,
>                    getIdleTimeout());
>

In our current code base, yes (He's using an older version). Although you
can set an idle-timeout in the user manager too.



>
> Have you ever tried to set timeout greater than 60 sec (60000)
> assuming the settings are in
> ms? So far the way I have experimented with MINA, couldn't make this
> work for longer timeout,
> without a workaround.
>

 From Mina javadoc: Sets idle time for the specified type of idleness in
seconds.
I haven't really tested this though - and Im not very familiar with Mina
itself. I should do some research on this.



>
> Let me know your thoughts.
>
> thanks
> ashish
>

Reply via email to