all repos — website @ 0df6daa9339c7f957ed59126e82b9a3590407cac

My website

log origin of server listener (i.e. listenfd or not)
Alan Pearce alan@alanpearce.eu
Wed, 19 Jun 2024 14:11:23 +0200
commit

0df6daa9339c7f957ed59126e82b9a3590407cac

parent

f0f14c101b7c37b8a4e7f90de1e53f8b3a2313b7

1 files changed, 1 insertions(+), 0 deletions(-)

jump to
M internal/server/server.gointernal/server/server.go
@@ -169,6 +169,7 @@ if err != nil { 		log.Warn("could not create listener from listenfd", "error", err)
 	}
 
+	log.Debug("listener from listenfd?", "passed", l != nil)
 	if l == nil {
 		l, err = net.Listen("tcp", s.Addr)
 		if err != nil {