[
https://issues.apache.org/jira/browse/DIRMINA-443?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12530697
]
Trustin Lee commented on DIRMINA-443:
-------------------------------------
The patch can lead to unexpected termination of I/O threads even while there's
a connection attempt in progress. Why not just setting the timeout to 0? It
will make the thread to exit immediately when there's no connection to handle.
> SocketConnection cannot be manually closed (for v2.X)
> -----------------------------------------------------
>
> Key: DIRMINA-443
> URL: https://issues.apache.org/jira/browse/DIRMINA-443
> Project: MINA
> Issue Type: Bug
> Components: Core
> Affects Versions: 2.0.0-M1
> Reporter: Jeff Genender
> Assignee: Maarten Bosteels
> Fix For: 2.0.0-M1
>
> Attachments: DIRMINA-443-jgenender.patch
>
>
> The SocketConnection cannot be closed. Currently it will wait a certain
> amount of timeout as specified by the worker timeout to shut down the
> connection. This can result in OOM and hanging clients until the timeouts
> occur. Mina should allow the SocketConnection to be closed manually if the
> connection is known to be completed.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.