[
https://issues.apache.org/jira/browse/SSHD-193?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kevin Winchester updated SSHD-193:
----------------------------------
Attachment: SSHD-193.patch
I am attaching a patch which corrects this issue.
> Client disconnects when local port forwarding channel is established after
> local connection already closed
> ----------------------------------------------------------------------------------------------------------
>
> Key: SSHD-193
> URL: https://issues.apache.org/jira/browse/SSHD-193
> Project: MINA SSHD
> Issue Type: Bug
> Affects Versions: 0.8.0
> Reporter: Kevin Winchester
> Priority: Minor
> Attachments: SSHD-193.patch
>
>
> If a local TCP/IP port forwarding tunnel is created, and then the local
> listening socket is opened and closed quickly before the channel open
> response has come from the server, the client will close the channel without
> notifying the server. Then the server will eventually time out and close the
> channel, but since the client does not recognize the channel anymore, it will
> disconnect.
> To recreate, all you need to do is:
> * Connect to server
> * Start local port forwarding
> * Connect to local port and disconnect immediately
> * Keep session to server open for another minute
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira