[
https://issues.apache.org/jira/browse/SSHD-755?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Work on SSHD-755 started by Goldstein Lyor.
-------------------------------------------
> Nio2Connector leaks socket if address is unresolvable or unreachable
> --------------------------------------------------------------------
>
> Key: SSHD-755
> URL: https://issues.apache.org/jira/browse/SSHD-755
> Project: MINA SSHD
> Issue Type: Bug
> Affects Versions: 1.4.0
> Environment: openjdk 1.8.0_111
> Reporter: Matthew S Havener
> Assignee: Goldstein Lyor
> Attachments: mina.patch
>
>
> During an async client connect (with ClientChannel.Streaming.Async), if the
> hostname is not resolvable, an UnresolvedAddressException is thrown from the
> "socket.connect(...)" call in Nio2Connector.java. The socket was allocated
> before the connect, but it is not closed in the "catch" block. This causes
> the socket to leak, and can eventually exhaust the file descriptors in the
> system.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)