Adjust VLESS flow config

pull/3677/head
2dust 2023-04-10 16:21:19 +08:00
parent fce6c46250
commit ebd0f45c10
2 changed files with 3 additions and 9 deletions

View File

@ -797,7 +797,7 @@ namespace v2rayN.Handler
if (!Global.flows.Contains(profileItem.flow)) if (!Global.flows.Contains(profileItem.flow))
{ {
return -1; profileItem.flow = Global.flows.First();
} }
AddServerCommon(ref config, profileItem, toFile); AddServerCommon(ref config, profileItem, toFile);

View File

@ -456,14 +456,8 @@ namespace v2rayN.Handler
boundStreamSettings(node, "out", outbound.streamSettings); boundStreamSettings(node, "out", outbound.streamSettings);
if (node.streamSecurity == Global.StreamSecurityReality) if (node.streamSecurity == Global.StreamSecurityReality
{ || node.streamSecurity == Global.StreamSecurity)
usersItem.flow = node.flow;
outbound.mux.enabled = false;
outbound.mux.concurrency = -1;
}
else if (node.streamSecurity == Global.StreamSecurity)
{ {
if (!Utils.IsNullOrEmpty(node.flow)) if (!Utils.IsNullOrEmpty(node.flow))
{ {