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:
parent
d1ed330f9f
commit
95e7e0dee7
@ -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
|
||||||
}
|
}
|
||||||
|
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user