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

This reverts commit d95586508d.
This commit is contained in:
hierynomus
2015-01-12 09:18:42 +01:00
parent b3ea908996
commit 703a0df09d

View File

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