Not sending EOF on OutputStream close (reopens #143)

This commit is contained in:
hierynomus
2015-01-21 10:25:28 +01:00
parent e348f698e6
commit 4a90f99c5f

View File

@@ -172,7 +172,7 @@ public final class ChannelOutputStream
if (!closed) {
try {
buffer.flush(false);
trans.write(new SSHPacket(Message.CHANNEL_EOF).putUInt32(chan.getRecipient()));
// trans.write(new SSHPacket(Message.CHANNEL_EOF).putUInt32(chan.getRecipient()));
} finally {
closed = true;
}