mirror of
https://github.com/XTLS/Xray-core.git
synced 2026-10-29 06:26:59 +00:00
refactor (remove TimeoutOnly)
This commit is contained in:
@@ -227,7 +227,7 @@ func (w *ServerWorker) handleStatusNew(ctx context.Context, meta *FrameMetadata,
|
||||
errors.LogInfoInner(ctx, err, "XUDP hit ", meta.GlobalID)
|
||||
}
|
||||
if mb != nil {
|
||||
ctx = session.ContextWithTimeoutOnly(ctx, true)
|
||||
ctx = context.WithoutCancel(ctx)
|
||||
// Actually, it won't return an error in Xray-core's implementations.
|
||||
link, err := w.dispatcher.Dispatch(ctx, meta.Target)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user