[
https://issues.apache.org/jira/browse/SSHD-433?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14362490#comment-14362490
]
Jay Guidos commented on SSHD-433:
---------------------------------
I located the problem in Nio2Acceptor. I have a test case that show the
problem and a patch that fixes it, if you are interested.
> Cannot close and then reopen a remote forward on the same port
> --------------------------------------------------------------
>
> Key: SSHD-433
> URL: https://issues.apache.org/jira/browse/SSHD-433
> Project: MINA SSHD
> Issue Type: Bug
> Affects Versions: 0.13.0
> Reporter: Jay Guidos
>
> Opening a remote forwarding port works fine, but when it is closed SSHD fails
> to unbind the socket, leaving the port open.
> While the SSHD process remains connected the remote port will remain open
> forever, causing subsequent remote forwarding attempts to fail in this
> session or any other) until the SSHD process terminates.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)