From 908852125211d9d568426bb2b667015e4975757c Mon Sep 17 00:00:00 2001 From: Kristoffer Dalby Date: Mon, 26 Sep 2022 11:33:48 +0200 Subject: [PATCH] Move lets enc listener into go routine Signed-off-by: Kristoffer Dalby --- app.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.go b/app.go index 59101be..0f59a2e 100644 --- a/app.go +++ b/app.go @@ -827,9 +827,9 @@ func (h *Headscale) getTLSSettings() (*tls.Config, error) { ReadTimeout: HTTPReadTimeout, } - err := server.ListenAndServe() go func() { + err := server.ListenAndServe() log.Fatal(). Caller(). Err(err).