[
https://issues.apache.org/jira/browse/DIRMINA-860?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Emmanuel Lecharny resolved DIRMINA-860.
---------------------------------------
Resolution: Invalid
You probably have a system settings that closes the connection before the 5
mins get expired. The idle time aren't ignored, you can check the code in
DatagramSessionIdleTest.
> Setting the session idle time on NioDatagramAcceptor is getting ignored.
> ------------------------------------------------------------------------
>
> Key: DIRMINA-860
> URL: https://issues.apache.org/jira/browse/DIRMINA-860
> Project: MINA
> Issue Type: Bug
> Components: Transport
> Affects Versions: 2.0.4
> Reporter: Greg Mirabito
>
> Setting the session idle time on NioDatagramAcceptor is getting ignored.
> I use the following code to set the idle session timeout for UDP sessions to
> 5 minutes, but the setting is ignored and the session closes after about 1
> minute.
> NioDatagramAcceptor udpIoAcceptor = new NioDatagramAcceptor();
> udpIoAcceptor.getSessionConfig().setBothIdleTime(300);
> udpIoAcceptor.getSessionConfig().setReaderIdleTime(300);
> udpIoAcceptor.getSessionConfig().setWriterIdleTime(300);
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira