You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
2 years ago
..
activitypub format with gofumpt (#18184) 2 years ago
analyze Use git attributes to determine generated and vendored status for language stats and diffs (#16773) 3 years ago
appstate format with gofumpt (#18184) 2 years ago
auth format with gofumpt (#18184) 2 years ago
avatar format with gofumpt (#18184) 2 years ago
base format with gofumpt (#18184) 2 years ago
cache format with gofumpt (#18184) 2 years ago
charset format with gofumpt (#18184) 2 years ago
context If rendering has failed due to a net.OpError stop rendering (#18642) 2 years ago
convert API: Return primary language and repository language stats API URL (#18396) 2 years ago
csv format with gofumpt (#18184) 2 years ago
doctor Delete old git.NewCommand() and use it as git.NewCommandContext() (#18552) 2 years ago
emoji format with gofumpt (#18184) 2 years ago
eventsource Simplify parameter types (#18006) 3 years ago
generate Use base32 for 2FA scratch token (#18384) 2 years ago
git Delete old git.NewCommand() and use it as git.NewCommandContext() (#18552) 2 years ago
gitgraph Delete old git.NewCommand() and use it as git.NewCommandContext() (#18552) 2 years ago
graceful format with gofumpt (#18184) 2 years ago
hcaptcha hCaptcha Support (#12594) 4 years ago
highlight format with gofumpt (#18184) 2 years ago
hostmatcher Simplify parameter types (#18006) 3 years ago
httpcache format with gofumpt (#18184) 2 years ago
httplib refactor httplib (#18338) 2 years ago
indexer Delete old git.NewCommand() and use it as git.NewCommandContext() (#18552) 2 years ago
json Make gitea, gitea-vet future-proof (#18361) 2 years ago
lfs format with gofumpt (#18184) 2 years ago
log format with gofumpt (#18184) 2 years ago
markup Prevent NPE on partial match of compare URL and allow short SHA1 compare URLs (#18472) 2 years ago
metrics format with gofumpt (#18184) 2 years ago
migration add test coverage for original author conversion during migrations (#18506) 2 years ago
nosql format with gofumpt (#18184) 2 years ago
notification Pause queues (#15928) 2 years ago
options format with gofumpt (#18184) 2 years ago
password Fixed assert statements. (#16089) 3 years ago
pprof refactor: move from io/ioutil to io and os package (#17109) 3 years ago
private Validate migration files (#18203) 2 years ago
process format with gofumpt (#18184) 2 years ago
proxy Return nil proxy function if proxy not enabled (#16742) 3 years ago
public Fix mime-type detection for HTTP server (#18370) 2 years ago
queue Only attempt to flush queue if the underlying worker pool is not finished (#18593) 2 years ago
recaptcha refactor: move from io/ioutil to io and os package (#17109) 3 years ago
references format with gofumpt (#18184) 2 years ago
repository Delete old git.NewCommand() and use it as git.NewCommandContext() (#18552) 2 years ago
secret Use `CryptoRandomBytes` instead of `CryptoRandomString` (#18439) 2 years ago
session format with gofumpt (#18184) 2 years ago
setting Warn at startup if the provided `SCRIPT_TYPE` is not on the PATH (#18467) 2 years ago
ssh format with gofumpt (#18184) 2 years ago
storage format with gofumpt (#18184) 2 years ago
structs API: Return primary language and repository language stats API URL (#18396) 2 years ago
svg refactor: move from io/ioutil to io and os package (#17109) 3 years ago
sync Fix missing unlock in uniquequeue (#9790) 5 years ago
templates format with gofumpt (#18184) 2 years ago
test format with gofumpt (#18184) 2 years ago
timeutil format with gofumpt (#18184) 2 years ago
translation Sort locales according to their names (#18211) 3 years ago
typesniffer format with gofumpt (#18184) 2 years ago
updatechecker format with gofumpt (#18184) 2 years ago
upload Simplify parameter types (#18006) 3 years ago
uri Prevent NPE if gitea uploader fails to open url (#18080) 3 years ago
user Add gitea-vet (#10948) 4 years ago
util Fix non-ASCII search on database (#18437) 2 years ago
validation format with gofumpt (#18184) 2 years ago
web Fix route wrap (#18360) 2 years ago