forgejo/modules
JonRB cb37c6ba5c
call builtinUnused() if internal SSH is disabled (#20877)
The graceful manager waits for 4 listeners to be created or to be told that they are not needed. If it is not told about them it will indefinitely and timeout. 

This leads to SVC hosts not being told of being in the readyState but on Unix would lead to the termination of the process.

There was an unfortunate regression in #20299 which missed this subtly and in the case whereby SSH is disabled the `builtinUnused()` is not called.

This PR adds a call to `builtinUnused()` when not using the builtin ssh to allow `createServerWaitGroup.Done()` to be called. 

In addition it was noted that the if/else clauses for timeout informing of the SVC host were in the wrong order. These have been swapped.

Fix #20609
2022-08-20 22:09:41 +01:00
..
activitypub Refactor AssertExistsAndLoadBean to use generics (#20797) 2022-08-16 10:22:25 +08:00
analyze
appstate
auth
avatar
base
cache
charset Switch Unicode Escaping to a VSCode-like system (#19990) 2022-08-13 19:32:34 +01:00
container
context Fix disable download button (#20701) 2022-08-08 15:42:36 +02:00
convert Refactor AssertExistsAndLoadBean to use generics (#20797) 2022-08-16 10:22:25 +08:00
csv
doctor Fix git.Init for doctor sub-command (#20782) 2022-08-14 00:33:18 +08:00
emoji
eventsource
generate
git Remove follow from commits by file (#20765) 2022-08-14 21:22:13 -04:00
gitgraph
graceful call builtinUnused() if internal SSH is disabled (#20877) 2022-08-20 22:09:41 +01:00
hcaptcha
highlight
hostmatcher Add proxy host into allow list (#20798) 2022-08-16 20:15:54 -04:00
httpcache
httplib
indexer
json
lfs
log Disable doctor logging on panic (#20847) 2022-08-18 21:27:27 -04:00
markup
mcaptcha Add support mCaptcha as captcha provider (#20458) 2022-08-10 15:20:10 +02:00
metrics
migration
mirror
nosql
notification Refactor AssertExistsAndLoadBean to use generics (#20797) 2022-08-16 10:22:25 +08:00
options
packages Add migrate repo archiver and packages storage support on command line (#20757) 2022-08-16 12:05:15 +08:00
paginator
password
pprof
private
process
proxy
public
queue
recaptcha
references
regexplru
repository Refactor AssertExistsAndLoadBean to use generics (#20797) 2022-08-16 10:22:25 +08:00
secret
session
setting auth/reverseproxy: Add support for full name (#20776) 2022-08-16 14:30:27 +08:00
sitemap
ssh call builtinUnused() if internal SSH is disabled (#20877) 2022-08-20 22:09:41 +01:00
storage
structs
svg
sync
templates Don't open new page for ext wiki on same repository (#20725) 2022-08-20 15:47:04 +01:00
test Refactor AssertExistsAndLoadBean to use generics (#20797) 2022-08-16 10:22:25 +08:00
timeutil Remove useless JS operation for relative time tooltips (#20756) 2022-08-12 17:03:41 -04:00
translation
typesniffer
updatechecker
upload
uri
user
util Fix SecToTime edge-cases (#20610) 2022-08-08 13:07:42 +08:00
validation
web refactor webhook *NewPost (#20729) 2022-08-11 17:48:23 +02:00