mirror of https://github.com/2dust/v2rayN
Adjust VLESS flow config
parent
fce6c46250
commit
ebd0f45c10
|
@ -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);
|
||||||
|
|
|
@ -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))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue