You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by Dave Roberts <da...@saaconsultants.com> on 2008/02/26 16:53:31 UTC

[FTPServer] MINA idle overrides others

We have a number of places where we can configure the idle time,
after which a session is dropped.  However, at the moment, the
configured MINA time overrides everything.

In MinaListener.java:78 we have:-
acceptor.getSessionConfig().setIdleTime( IdleStatus.BOTH_IDLE, 10 );

So irrespective of the time set in the ftp config, only 10 seconds
of idle time is permitted before the connection is closed.

Re: [FTPServer] MINA idle overrides others

Posted by Niklas Gustavsson <ni...@protocol7.com>.
On Tue, Feb 26, 2008 at 4:53 PM, Dave Roberts
<da...@saaconsultants.com> wrote:
> We have a number of places where we can configure the idle time,
>  after which a session is dropped.  However, at the moment, the
>  configured MINA time overrides everything.

Yes, my plan is to drop our old configuration and use MINA for this.
Haven't gotten around to it yet (patch welcome ;-)

/niklas