mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-09-28 14:56:33 -04:00
trace context
This commit is contained in:
parent
50c4e3389c
commit
90f2480037
@ -63,7 +63,7 @@ func (v *Client) Process(ctx context.Context, outboundRay ray.OutboundRay, diale
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
return newError("failed to find an available destination").AtWarning().Base(err)
|
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()
|
defer conn.Close()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user