You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Emmanuel Lecharny (JIRA)" <ji...@apache.org> on 2014/09/07 09:53:28 UTC

[jira] [Resolved] (DIRMINA-843) NioSocketAcceptor doesnot provide an interface to input connectiontimeout parameter.

     [ https://issues.apache.org/jira/browse/DIRMINA-843?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Lecharny resolved DIRMINA-843.
---------------------------------------
    Resolution: Not a Problem

There is nothing we can do. The disconnection of a inactive socket is handled by the OS. You can either modify your OS setting to increase or decrease this value, or use the KeepAlive filter (assuming it fits your client)

> NioSocketAcceptor doesnot provide an interface to input connectiontimeout parameter.
> ------------------------------------------------------------------------------------
>
>                 Key: DIRMINA-843
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-843
>             Project: MINA
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.0.3
>         Environment: Windows Vista SP2
> core i5 processor
> 4GB RAM
>            Reporter: Adarsh Mysore Thimmappa
>             Fix For: 2.0.8
>
>
> TCP connection is terminated by exactly 5 mins, from the time it is created.
> I am using Apache MINA + AsynchWeb to build both client and server...
> Client is ok...since it is based on NioSocketConnector...and we can give connect timeout in milliis....it is working fine for me.
> The real issue is with NioSocketAcceptor....it doesn't accept connect timeout parameter...



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)