mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-31 21:28:11 +09:00 
			
		
		
		
	Merge pull request #2432 from nd/develop
Fix #2431 - handle requests waiting for reply
This commit is contained in:
		| @@ -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) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user