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

Emmanuel Lecharny resolved DIRMINA-1036.
----------------------------------------
    Resolution: Duplicate

> Handler leak in NioSocketConnector
> ----------------------------------
>
>                 Key: DIRMINA-1036
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-1036
>             Project: MINA
>          Issue Type: Bug
>            Reporter: guojilin
>
> When NioSocketConnector.connect(SocketAddress, SocketAddress) is called, and 
> remoteAddress is reachable but localAddress is not assigned, a handler will 
> leak.
> In NioSocketConnector.newHandle(SocketAddress localAddress),  
> SocketChannel.open() and SocketChannel.socket().bind() are called. If 
> localAddress is not assigend, open() returns normally but a 
> java.net.BindException will throw at bind().
> In its caller, AbstractPollingIoConnector.connect0(), it catches exception 
> but can not get the opened SocketChannel.



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

Reply via email to