app/dispatcher/default.go: Add comment on run-time rejecting non-existent outbound tag

https://github.com/XTLS/Xray-core/pull/5101#issuecomment-3270341615
pull/4283/merge
RPRX 2025-09-10 14:36:36 +00:00
parent 3edfb0e335
commit 5148c5786f
1 changed files with 1 additions and 1 deletions

View File

@ -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)