diff --git a/proxy/socks/server.go b/proxy/socks/server.go index cf6e0821..de7bc254 100644 --- a/proxy/socks/server.go +++ b/proxy/socks/server.go @@ -75,8 +75,7 @@ func (s *Server) processTCP(ctx context.Context, conn internet.Connection, dispa if source, ok := proxy.SourceFromContext(ctx); ok { log.Access(source, "", log.AccessRejected, err) } - log.Trace(newError("failed to read request").Base(err)) - return err + return newError("failed to read request").Base(err) } conn.SetReadDeadline(time.Time{})