1
0
mirror of https://github.com/go-gitea/gitea synced 2025-02-24 05:41:38 +01:00
zeripath d4a075d738
If rendering has failed due to a net.OpError stop rendering () ()
Backport 

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 

Signed-off-by: Andrew Thornton <art27@cantab.net>
2022-02-07 09:25:05 +08:00
..
2019-06-26 16:51:32 +08:00
2022-01-02 21:12:35 +08:00
2022-01-02 21:12:35 +08:00
2021-01-27 22:56:54 +08:00
2021-01-26 16:36:53 +01:00
2021-01-26 16:36:53 +01:00