commit | 14a3ce2a18aa4900c591089ce9e920464f0c3ce1 | [log] [tgz] |
---|---|---|
author | Shawn O. Pearce <sop@google.com> | Thu Feb 05 10:08:44 2009 -0800 |
committer | Shawn O. Pearce <sop@google.com> | Thu Feb 05 10:29:37 2009 -0800 |
tree | 367fae9b5801bc3f8ac4d82b1c2f4edb848bc6a7 | |
parent | d22280a90d6d31a50479442b122eee4548b633a9 [diff] |
Don't close SSH command streams as MINA SSHD does it for us The SSHD code automatically closes these during the onExit method below. Closing them ourselves might cause the server to try and close the same channel twice. Instead we issue a flush to ensure all written data is sent to the client before the exit. Signed-off-by: Shawn O. Pearce <sop@google.com>