Merge pull request #2432 from nd/develop

Fix #2431 - handle requests waiting for reply
这个提交包含在:
Unknwon
2016-01-25 13:16:32 -05:00
当前提交 b33abc6280
+1
查看文件
@@ -91,6 +91,7 @@ func handleServerConn(keyID string, chans <-chan ssh.NewChannel) {
return return
} }
req.Reply(true, nil);
go io.Copy(input, ch) go io.Copy(input, ch)
io.Copy(ch, stdout) io.Copy(ch, stdout)
io.Copy(ch.Stderr(), stderr) io.Copy(ch.Stderr(), stderr)