On 16/06/2019 16:18, Dor Ben Dov wrote:
Hi everyone,
Is it possible to increase this timeout ?

There is no session timeout in MINA: a socket remains opened as long as it's not closed, either by your application, the client, or the OS because it's idling for too long.

Now, your OS will close inactive sockets after a configured time, and you may want to prevent that. In MINA, you'll do that by configuring the session configuration using the SocketSessionConfig.setKeepAlive( true ) call. This is a global parameter, so you need to call it when defining your IoService instance.



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@mina.apache.org
For additional commands, e-mail: dev-h...@mina.apache.org

Reply via email to