mirror of https://github.com/go-gitea/gitea
If rendering has failed due to a net.OpError stop rendering (#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 #18629 Signed-off-by: Andrew Thornton <art27@cantab.net>pull/18286/head^2
parent
3043eb36bf
commit
a6e657e999
Loading…
Reference in new issue