mirror of
https://github.com/gogs/gogs.git
synced 2025-05-31 11:42:13 +00:00
According to the docs [1], the Reply method must be called for all requests where WantReply is true. This fixes a hanging java ssh implementation (jsch) which sets WantReply flag and waits for reply from the server. [1] https://godoc.org/golang.org/x/crypto/ssh#Request.Reply