You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mina.apache.org by lg...@apache.org on 2020/02/03 17:54:49 UTC
[mina-sshd] 03/03: [SSHD-964] Do not shutdown the TCPIP channel
output stream when receiving SSH_MSG_CHANNEL_EOF
This is an automated email from the ASF dual-hosted git repository.
lgoldstein pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mina-sshd.git
commit 385f63731e74d0c73b6624170bfd1ad385ebffc6
Author: Lyor Goldstein <lg...@apache.org>
AuthorDate: Sat Jan 25 18:54:44 2020 +0200
[SSHD-964] Do not shutdown the TCPIP channel output stream when receiving SSH_MSG_CHANNEL_EOF
---
.../java/org/apache/sshd/common/forward/TcpipClientChannel.java | 6 ------
1 file changed, 6 deletions(-)
diff --git a/sshd-core/src/main/java/org/apache/sshd/common/forward/TcpipClientChannel.java b/sshd-core/src/main/java/org/apache/sshd/common/forward/TcpipClientChannel.java
index fc0643e..bc33a24 100644
--- a/sshd-core/src/main/java/org/apache/sshd/common/forward/TcpipClientChannel.java
+++ b/sshd-core/src/main/java/org/apache/sshd/common/forward/TcpipClientChannel.java
@@ -220,10 +220,4 @@ public class TcpipClientChannel extends AbstractClientChannel implements Forward
public SshdSocketAddress getTunnelExit() {
return tunnelExit;
}
-
- @Override
- public void handleEof() throws IOException {
- super.handleEof();
- serverSession.shutdownOutputStream();
- }
}