[ 
https://issues.apache.org/jira/browse/SSHD-964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17021851#comment-17021851
 ] 

Roberto Deandrea commented on SSHD-964:
---------------------------------------

I will try your suggested code changes into AbstractChannel class in methods 
sendEof() and writePacket() but NOT REMOVING shutdownOutputStream() method in 
TcpipClientChannel class IS NOT ACCEPTABLE for the following reason :

When EOF is received in any client channel, the output stream of the socket 
connecting the SSH client with the SSH server is closed!

_public void handleEof() throws IOException {_
   _super.handleEof();_
   _//serverSession.shudownOutputStream();_
 _}_

 

Kind Regards

Roberto

 

 

> SSH_MSG_CHANNEL_EOF never sent or received for local and remote port 
> forwarding
> -------------------------------------------------------------------------------
>
>                 Key: SSHD-964
>                 URL: https://issues.apache.org/jira/browse/SSHD-964
>             Project: MINA SSHD
>          Issue Type: Bug
>    Affects Versions: 2.3.0, 2.3.1
>            Reporter: Roberto Deandrea
>            Assignee: Lyor Goldstein
>            Priority: Major
>
> We found that the message SSH_MSG_CHANNEL_EOF is never sent or received for 
> local and remote port forwarding connections.
> We found probably the issue and we changed the code locally in a couple of 
> java classes to fix this issue.
> Let me know if we can commit our changes in a pull request (into a specific 
> Apache SSHD branch) so that you can peer review the changes  and decide if 
> you can accept them...
>  
> Kind Regards
> Roberto Deandrea
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@mina.apache.org
For additional commands, e-mail: dev-h...@mina.apache.org

Reply via email to