mirror of https://github.com/go-gitea/gitea.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Backport #12102 this was thought to be due to timeouts, however on closer look this appears to be due to the Close() function of the BlameReader hanging with a blocked stdout pipe. This PR fixes this Close function to: * Cancel the context of the cmd * Close the StdoutReader - ensuring that the output pipe is closed Further it makes the context of the `git blame` command a child of the request context - ensuring that even if Close() is not called, on cancellation of the Request the blame is command will also be cancelled. Fixes #11716 Closes #11727 Signed-off-by: Andrew Thornton <art27@cantab.net> |
5 years ago | |
---|---|---|
.. | ||
admin | 5 years ago | |
api/v1 | 5 years ago | |
dev | 6 years ago | |
events | 5 years ago | |
org | 5 years ago | |
private | 5 years ago | |
repo | 5 years ago | |
routes | 5 years ago | |
user | 5 years ago | |
utils | 5 years ago | |
home.go | 5 years ago | |
init.go | 5 years ago | |
install.go | 5 years ago | |
metrics.go | 6 years ago | |
swagger_json.go | 5 years ago |