1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-12-21 17:46:58 -05:00

AtWarning() -> AtInfo()

This commit is contained in:
RPRX 2020-10-13 04:53:34 +00:00 committed by GitHub
parent d1ed330f9f
commit 95e7e0dee7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -353,7 +353,7 @@ func (h *Handler) Process(ctx context.Context, network net.Network, connection i
Status: log.AccessRejected, Status: log.AccessRejected,
Reason: err, Reason: err,
}) })
err = newError("invalid request from ", connection.RemoteAddr()).Base(err).AtWarning() err = newError("invalid request from ", connection.RemoteAddr()).Base(err).AtInfo()
} }
return err return err
} }

View File

@ -204,7 +204,7 @@ func (h *Handler) Process(ctx context.Context, link *transport.Link, dialer inte
responseAddons, err := encoding.DecodeResponseHeader(conn, request) responseAddons, err := encoding.DecodeResponseHeader(conn, request)
if err != nil { if err != nil {
return newError("failed to decode response header").Base(err).AtWarning() return newError("failed to decode response header").Base(err).AtInfo()
} }
// default: serverReader := buf.NewReader(conn) // default: serverReader := buf.NewReader(conn)