0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-18 13:35:08 +01:00

Merge pull request #2432 from nd/develop

Fix #2431 - handle requests waiting for reply
This commit is contained in:
Unknwon 2016-01-25 13:16:32 -05:00
commit b33abc6280

View file

@ -91,6 +91,7 @@ func handleServerConn(keyID string, chans <-chan ssh.NewChannel) {
return
}
req.Reply(true, nil);
go io.Copy(input, ch)
io.Copy(ch, stdout)
io.Copy(ch.Stderr(), stderr)