From 7dada1da2b76c79c12fc35a80656d237ac0a2243 Mon Sep 17 00:00:00 2001 From: Random Guy <50927468+M03ED@users.noreply.github.com> Date: Tue, 3 Mar 2026 14:40:19 +0330 Subject: [PATCH] VLESS config: Remove "with no flow" warning for now (#5671) https://github.com/XTLS/Xray-core/pull/5671#issuecomment-3891166246 --- infra/conf/vless.go | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/infra/conf/vless.go b/infra/conf/vless.go index d34906b0..e6d231e0 100644 --- a/infra/conf/vless.go +++ b/infra/conf/vless.go @@ -42,7 +42,7 @@ func (c *VLessInboundConfig) Build() (proto.Message, error) { config := new(inbound.Config) config.Clients = make([]*protocol.User, len(c.Clients)) switch c.Flow { - case "", vless.XRV: + case vless.XRV, "": default: return nil, errors.New(`VLESS "settings.flow" doesn't support "` + c.Flow + `" in this version`) } @@ -69,9 +69,6 @@ func (c *VLessInboundConfig) Build() (proto.Message, error) { default: return nil, errors.New(`VLESS clients: "flow" doesn't support "` + account.Flow + `" in this version`) } - if account.Flow == "" { - errors.PrintNonRemovalDeprecatedFeatureWarning("VLESS (with no Flow, etc.)", "VLESS with Flow & Seed") - } if len(account.Testseed) < 4 { account.Testseed = c.Testseed @@ -280,7 +277,6 @@ func (c *VLessOutboundConfig) Build() (proto.Message, error) { switch account.Flow { case "": - errors.PrintNonRemovalDeprecatedFeatureWarning("VLESS (with no Flow, etc.)", "VLESS with Flow & Seed") case vless.XRV, vless.XRV + "-udp443": default: return nil, errors.New(`VLESS users: "flow" doesn't support "` + account.Flow + `" in this version`)