diff options
| author | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2024-12-19 10:55:07 +0100 |
|---|---|---|
| committer | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2024-12-19 10:55:07 +0100 |
| commit | 28c310f2b834dcd8289dab0b7404f998d2ef6ac2 (patch) | |
| tree | a12807988b6a11640efb4835e249392399915ee3 /proxy/proxy.go | |
| parent | 4de4d76ad1ef1dc52b6e2e03c4fc81d4ea8d467e (diff) | |
ProxyGuard: Remove debug logging
Diffstat (limited to 'proxy/proxy.go')
| -rw-r--r-- | proxy/proxy.go | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/proxy/proxy.go b/proxy/proxy.go index 06c833f..e0dba4f 100644 --- a/proxy/proxy.go +++ b/proxy/proxy.go @@ -59,7 +59,6 @@ func (p *Proxy) Tunnel(ctx context.Context, wglisten int) error { gctx, cancel := context.WithCancel(ctx) go func() { err := p.Client.Tunnel(gctx, wglisten) - defer log.Logger.Infof("exit goroutine") if err != nil { err = i18nerr.WrapInternal(err, "The VPN proxy exited") } @@ -68,15 +67,11 @@ func (p *Proxy) Tunnel(ctx context.Context, wglisten int) error { select { case err := <- errChan: - log.Logger.Infof("exit hier") cancel() return err case <- p.resChan: - log.Logger.Infof("before cancel") cancel() - log.Logger.Infof("after cancel") <- errChan - log.Logger.Infof("after errChan") return p.Tunnel(ctx, wglisten) } } |
