no biggie if we don't send EOF on ChannelOutputStream.close()

This commit is contained in:
shikhar
2014-06-25 11:21:35 +05:30
parent 5ee2f0a417
commit d95586508d

View File

@@ -192,7 +192,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;
}