1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-06-10 09:50:43 +00:00

trace context

This commit is contained in:
Darien Raymond 2018-04-01 09:57:26 +02:00
parent 50c4e3389c
commit 90f2480037
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169

View File

@ -63,7 +63,7 @@ func (v *Client) Process(ctx context.Context, outboundRay ray.OutboundRay, diale
if err != nil {
return newError("failed to find an available destination").AtWarning().Base(err)
}
newError("tunneling request to ", destination, " via ", server.Destination()).WriteToLog()
newError("tunneling request to ", destination, " via ", server.Destination()).WithContext(ctx).WriteToLog()
defer conn.Close()