mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-01-20 16:26:23 -05:00
stop recording mux access log
This commit is contained in:
parent
75a7e9c7f5
commit
076f385e4b
@ -252,12 +252,14 @@ func (h *Handler) Process(ctx context.Context, network net.Network, connection i
|
||||
return newError("client is using insecure encryption: ", request.Security)
|
||||
}
|
||||
|
||||
log.Record(&log.AccessMessage{
|
||||
From: connection.RemoteAddr(),
|
||||
To: request.Destination(),
|
||||
Status: log.AccessAccepted,
|
||||
Reason: "",
|
||||
})
|
||||
if request.Command != protocol.RequestCommandMux {
|
||||
log.Record(&log.AccessMessage{
|
||||
From: connection.RemoteAddr(),
|
||||
To: request.Destination(),
|
||||
Status: log.AccessAccepted,
|
||||
Reason: "",
|
||||
})
|
||||
}
|
||||
|
||||
newError("received request for ", request.Destination()).WithContext(ctx).WriteToLog()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user