[
https://issues.apache.org/jira/browse/SSHD-433?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14362490#comment-14362490
]
Jay Guidos edited comment on SSHD-433 at 3/15/15 7:54 PM:
----------------------------------------------------------
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. I patched against
0.13.0 instead of master, but its a two file change, should be easy to apply.
was (Author: jay guidos):
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
> Attachments:
> 0001-SSHD-433-Cannot-close-and-then-reopen-a-remote-forwa.patch
>
>
> 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)