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() }