diff options
author | Unknwon <u@gogs.io> | 2016-01-25 13:16:32 -0500 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2016-01-25 13:16:32 -0500 |
commit | b33abc62805611f37fc92a3e75ece326efaabaf2 (patch) | |
tree | ff1970dbd2c8fe172002ee6eefd0aad0b10da481 /modules/ssh | |
parent | 38efa72146eb8caeed0140f36a8e322c1426fda1 (diff) | |
parent | fb99d50fa1d2d38ef6b4d8fa63c81b27fa6123bd (diff) |
Merge pull request #2432 from nd/develop
Fix #2431 - handle requests waiting for reply
Diffstat (limited to 'modules/ssh')
-rw-r--r-- | modules/ssh/ssh.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/ssh/ssh.go b/modules/ssh/ssh.go index 15ba02a2..41a87066 100644 --- a/modules/ssh/ssh.go +++ b/modules/ssh/ssh.go @@ -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) |