Re: leaking NioProcessors/NioSocketConnectors hanging in call to dispose

2017-10-10 Thread Jonathan Valliere
Which version of Mina are you using or are you building from Git? Please pull tag/2.0.16 from GIT and apply the attached patch. Let me know if that fixes your problem. Sorry about the excess changes in the patch; the java code formatter made a lot of changes. If this works then we can create a

[jira] [Comment Edited] (DIRMINA-1057) AbstractIoSession getScheduledWriteMessages always -negative?

2017-10-10 Thread Jonathan Valliere (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-1057?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16199124#comment-16199124 ] Jonathan Valliere edited comment on DIRMINA-1057 at 10/10/17 6:25 PM:

[jira] [Commented] (DIRMINA-1057) AbstractIoSession getScheduledWriteMessages always -negative?

2017-10-10 Thread Jonathan Valliere (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-1057?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16199124#comment-16199124 ] Jonathan Valliere commented on DIRMINA-1057: Emmanuel, are you sure that error wasn't

Re: leaking NioProcessors/NioSocketConnectors hanging in call to dispose

2017-10-10 Thread Emmanuel Lécharny
Hi Christophe, Jonathan, when dispose() is called, is first set the 'disposing' flag, which will be checked in the IoProcessor select loop. The disposalFuture is signaled after the select loop, in a try... catch... finally. That supposes the loop ends at some point, and the only reason for the

[jira] [Commented] (DIRMINA-1057) AbstractIoSession getScheduledWriteMessages always -negative?

2017-10-10 Thread Emmanuel Lecharny (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-1057?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16198530#comment-16198530 ] Emmanuel Lecharny commented on DIRMINA-1057: Thanks for the patch, Jonathan, I have