1
0
Fork 0
forgejo/modules
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
..
activitypub
analyze
appstate
auth
avatar
base
cache
charset
context If rendering has failed due to a net.OpError stop rendering (#18642) 2022-02-06 20:28:25 +01:00
convert API: Return primary language and repository language stats API URL (#18396) 2022-01-25 08:33:40 +02:00
csv
doctor Delete old git.NewCommand() and use it as git.NewCommandContext() (#18552) 2022-02-06 20:01:47 +01:00
emoji
eventsource
generate Use base32 for 2FA scratch token (#18384) 2022-01-26 12:10:10 +08:00
git Delete old git.NewCommand() and use it as git.NewCommandContext() (#18552) 2022-02-06 20:01:47 +01:00
gitgraph Delete old git.NewCommand() and use it as git.NewCommandContext() (#18552) 2022-02-06 20:01:47 +01:00
graceful
hcaptcha
highlight
hostmatcher
httpcache
httplib
indexer Delete old git.NewCommand() and use it as git.NewCommandContext() (#18552) 2022-02-06 20:01:47 +01:00
json
lfs
log
markup Prevent NPE on partial match of compare URL and allow short SHA1 compare URLs (#18472) 2022-01-31 01:48:47 +02:00
metrics
migration add test coverage for original author conversion during migrations (#18506) 2022-02-01 13:20:28 -05:00
nosql
notification
options
password
pprof
private Validate migration files (#18203) 2022-01-26 10:45:51 +01:00
process
proxy
public Fix mime-type detection for HTTP server (#18370) 2022-01-23 20:19:49 +08:00
queue Only attempt to flush queue if the underlying worker pool is not finished (#18593) 2022-02-05 20:51:25 +00:00
recaptcha
references
repository Delete old git.NewCommand() and use it as git.NewCommandContext() (#18552) 2022-02-06 20:01:47 +01:00
secret Use CryptoRandomBytes instead of CryptoRandomString (#18439) 2022-02-04 18:03:15 +01:00
session
setting Warn at startup if the provided SCRIPT_TYPE is not on the PATH (#18467) 2022-01-30 16:33:36 +00:00
ssh
storage
structs API: Return primary language and repository language stats API URL (#18396) 2022-01-25 08:33:40 +02:00
svg
sync
templates
test
timeutil
translation
typesniffer
updatechecker
upload
uri
user
util Fix non-ASCII search on database (#18437) 2022-02-01 20:59:25 +08:00
validation
web