improve debug logging, rw lock for notifier

Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
This commit is contained in:
Kristoffer Dalby 2023-09-11 06:08:44 -05:00 committed by Kristoffer Dalby
parent 3bef63bb80
commit 217ccd6540
3 changed files with 18 additions and 3 deletions

View file

@ -23,6 +23,7 @@ func (ns *noiseServer) NoiseRegistrationHandler(
log.Trace().
Any("headers", req.Header).
Caller().
Msg("Headers")
body, _ := io.ReadAll(req.Body)