1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-04 08:17:24 -05: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_org.go
api_test.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
api.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
auth.go Refactor auth package (#17962) 2022-01-02 21:12:35 +08:00
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 Team permission allow different unit has different permission (#17811) 2022-01-05 11:37:00 +08:00
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_test.go
xsrf.go