mirror of https://github.com/2dust/v2rayN
parent
df5b55b14f
commit
112273036b
|
@ -354,6 +354,7 @@ namespace v2rayN.Handler
|
||||||
|
|
||||||
//Mux
|
//Mux
|
||||||
outbound.mux.enabled = config.muxEnabled;
|
outbound.mux.enabled = config.muxEnabled;
|
||||||
|
outbound.mux.concurrency = config.muxEnabled ? 8 : -1;
|
||||||
|
|
||||||
//远程服务器底层传输配置
|
//远程服务器底层传输配置
|
||||||
StreamSettings streamSettings = outbound.streamSettings;
|
StreamSettings streamSettings = outbound.streamSettings;
|
||||||
|
@ -384,6 +385,8 @@ namespace v2rayN.Handler
|
||||||
serversItem.level = 1;
|
serversItem.level = 1;
|
||||||
|
|
||||||
outbound.mux.enabled = false;
|
outbound.mux.enabled = false;
|
||||||
|
outbound.mux.concurrency = -1;
|
||||||
|
|
||||||
|
|
||||||
outbound.protocol = "shadowsocks";
|
outbound.protocol = "shadowsocks";
|
||||||
outbound.settings.vnext = null;
|
outbound.settings.vnext = null;
|
||||||
|
@ -418,6 +421,7 @@ namespace v2rayN.Handler
|
||||||
}
|
}
|
||||||
|
|
||||||
outbound.mux.enabled = false;
|
outbound.mux.enabled = false;
|
||||||
|
outbound.mux.concurrency = -1;
|
||||||
|
|
||||||
outbound.protocol = "socks";
|
outbound.protocol = "socks";
|
||||||
outbound.settings.vnext = null;
|
outbound.settings.vnext = null;
|
||||||
|
|
Binary file not shown.
|
@ -281,6 +281,11 @@ namespace v2rayN.Mode
|
||||||
///
|
///
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public bool enabled { get; set; }
|
public bool enabled { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
///
|
||||||
|
/// </summary>
|
||||||
|
public int concurrency { get; set; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public class Response
|
public class Response
|
||||||
|
|
|
@ -33,4 +33,4 @@ using System.Runtime.InteropServices;
|
||||||
// 方法是按如下所示使用“*”:
|
// 方法是按如下所示使用“*”:
|
||||||
//[assembly: AssemblyVersion("1.0.*")]
|
//[assembly: AssemblyVersion("1.0.*")]
|
||||||
//[assembly: AssemblyVersion("1.0.0")]
|
//[assembly: AssemblyVersion("1.0.0")]
|
||||||
[assembly: AssemblyFileVersion("3.4")]
|
[assembly: AssemblyFileVersion("3.5")]
|
||||||
|
|
Loading…
Reference in New Issue