summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2016-01-25 13:16:32 -0500
committerUnknwon <u@gogs.io>2016-01-25 13:16:32 -0500
commitb33abc62805611f37fc92a3e75ece326efaabaf2 (patch)
treeff1970dbd2c8fe172002ee6eefd0aad0b10da481
parent38efa72146eb8caeed0140f36a8e322c1426fda1 (diff)
parentfb99d50fa1d2d38ef6b4d8fa63c81b27fa6123bd (diff)
downloadgitea-b33abc62805611f37fc92a3e75ece326efaabaf2.tar.gz
gitea-b33abc62805611f37fc92a3e75ece326efaabaf2.zip
Merge pull request #2432 from nd/develop
Fix #2431 - handle requests waiting for reply
-rw-r--r--modules/ssh/ssh.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/ssh/ssh.go b/modules/ssh/ssh.go
index 15ba02a2b1..41a8706630 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)