DNS outbound: Fix own-link detection for XUDP sessions

This commit is contained in:
Meo597
2026-07-03 23:54:58 +08:00
parent 45cf2898ab
commit 4dd45c8417
+1 -1
View File
@@ -215,7 +215,7 @@ func (h *Handler) Process(ctx context.Context, link *transport.Link, d internet.
}
if session.TimeoutOnlyFromContext(ctx) {
ctx = context.Background()
ctx = context.WithoutCancel(ctx)
}
ctx, cancel := context.WithCancel(ctx)