remove connectionReuse

This commit is contained in:
2dust 2020-12-05 18:12:55 +08:00
parent 162b3ab29c
commit 3aeaadade6
2 changed files with 3 additions and 14 deletions

View file

@ -624,8 +624,7 @@ namespace v2rayN.Handler
//ws //ws
case "ws": case "ws":
WsSettings wsSettings = new WsSettings WsSettings wsSettings = new WsSettings
{ {
connectionReuse = true
}; };
string path = config.path(); string path = config.path();
@ -689,7 +688,6 @@ namespace v2rayN.Handler
{ {
TcpSettings tcpSettings = new TcpSettings TcpSettings tcpSettings = new TcpSettings
{ {
connectionReuse = true,
header = new Header header = new Header
{ {
type = config.headerType() type = config.headerType()

View file

@ -420,11 +420,7 @@ namespace v2rayN.Mode
} }
public class TcpSettings public class TcpSettings
{ {
/// <summary>
/// 是否重用 TCP 连接
/// </summary>
public bool connectionReuse { get; set; }
/// <summary> /// <summary>
/// 数据包头部伪装设置 /// 数据包头部伪装设置
/// </summary> /// </summary>
@ -488,12 +484,7 @@ namespace v2rayN.Mode
} }
public class WsSettings public class WsSettings
{ {
/// <summary>
///
/// </summary>
public bool connectionReuse { get; set; }
/// <summary> /// <summary>
/// ///
/// </summary> /// </summary>