Skip to content

Commit c679735

Browse files
Fix linter issue
1 parent 336c316 commit c679735

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

listen.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ func handleRelayConnection(ctx context.Context, listener net.Listener, proxyAddr
119119
_ = relayConn.Close()
120120
}()
121121

122-
defer relayConn.Close() //nolint:errcheck
122+
defer relayConn.Close() //nolint:errcheck,gosec
123123

124124
return proxyrelay.RunProxyWithEventCallback(ctx, relayConn, proxyAddr, func(e proxyrelay.Event) {
125125
if e.Type != proxyrelay.TypeSOCKS5ConnectionOpened && e.Type != proxyrelay.TypeSOCKS5ConnectionClosed {

0 commit comments

Comments
 (0)