From 5148c5786f5f67a4b8213229fa6c1b15625e80ae Mon Sep 17 00:00:00 2001 From: RPRX <63339210+RPRX@users.noreply.github.com> Date: Wed, 10 Sep 2025 14:36:36 +0000 Subject: [PATCH] app/dispatcher/default.go: Add comment on run-time rejecting non-existent outbound tag https://github.com/XTLS/Xray-core/pull/5101#issuecomment-3270341615 --- app/dispatcher/default.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/dispatcher/default.go b/app/dispatcher/default.go index c17bfcd1..75b08979 100644 --- a/app/dispatcher/default.go +++ b/app/dispatcher/default.go @@ -483,7 +483,7 @@ func (d *DefaultDispatcher) routedDispatch(ctx context.Context, link *transport. handler = h } else { errors.LogWarning(ctx, "non existing outTag: ", outTag) - return + return // DO NOT CHANGE: the traffic shouldn't be processed by default outbound if the specified outbound tag doesn't exist (yet), e.g., VLESS Reverse Proxy } } else { errors.LogInfo(ctx, "default route for ", destination)