0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-25 23:44:50 +01:00
gitea/modules/context
zeripath a6e657e999
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>
2022-02-06 20:28:25 +01:00
..
access_log.go
api.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
api_org.go
api_test.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
auth.go
captcha.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
context.go If rendering has failed due to a net.OpError stop rendering (#18642) 2022-02-06 20:28:25 +01:00
csrf.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
form.go Add config options to hide issue events (#17414) 2022-01-21 18:59:26 +01:00
org.go
pagination.go
permission.go
private.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
repo.go Automatically pause queue if index service is unavailable (#15066) 2022-01-27 10:30:51 +02:00
response.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
xsrf.go
xsrf_test.go