From cea6118ba6a7fae24b9676f46da1a0f5d1f23322 Mon Sep 17 00:00:00 2001 From: yuzuki999 Date: Mon, 25 Sep 2023 15:38:34 +0800 Subject: [PATCH] fix in out link bug --- core/xray/app/dispatcher/default.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/xray/app/dispatcher/default.go b/core/xray/app/dispatcher/default.go index 9995c7d..cb823df 100644 --- a/core/xray/app/dispatcher/default.go +++ b/core/xray/app/dispatcher/default.go @@ -492,6 +492,10 @@ func (d *DefaultDispatcher) routedDispatch(ctx context.Context, link *transport. } } + if handler == nil { + handler = d.ohm.GetHandler(inTag) + } + if handler == nil { handler = d.ohm.GetDefaultHandler() }