Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
If rendering has failed due to a net.OpError stop rendering (go-gitea…
…#18642) When a net.OpError occurs during rendering the underlying connection is essentially dead and therefore attempting to render further data will only cause further errors. Therefore in serverErrorInternal detect if the passed in error is an OpError and if so do not attempt any further rendering. Fix go-gitea#18629 Signed-off-by: Andrew Thornton <[email protected]>
- Loading branch information