diff --git a/app/dispatcher/default.go b/app/dispatcher/default.go index 75b08979..2ae64902 100644 --- a/app/dispatcher/default.go +++ b/app/dispatcher/default.go @@ -483,6 +483,8 @@ func (d *DefaultDispatcher) routedDispatch(ctx context.Context, link *transport. handler = h } else { errors.LogWarning(ctx, "non existing outTag: ", outTag) + common.Close(link.Writer) + common.Interrupt(link.Reader) 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 {