From 3aeaadade6b29ea27a27864a2f22d05a99f04b70 Mon Sep 17 00:00:00 2001
From: 2dust <31833384+2dust@users.noreply.github.com>
Date: Sat, 5 Dec 2020 18:12:55 +0800
Subject: [PATCH] remove connectionReuse
---
v2rayN/v2rayN/Handler/V2rayConfigHandler.cs | 4 +---
v2rayN/v2rayN/Mode/V2rayConfig.cs | 13 ++-----------
2 files changed, 3 insertions(+), 14 deletions(-)
diff --git a/v2rayN/v2rayN/Handler/V2rayConfigHandler.cs b/v2rayN/v2rayN/Handler/V2rayConfigHandler.cs
index bc28924c..b02ea327 100644
--- a/v2rayN/v2rayN/Handler/V2rayConfigHandler.cs
+++ b/v2rayN/v2rayN/Handler/V2rayConfigHandler.cs
@@ -624,8 +624,7 @@ namespace v2rayN.Handler
//ws
case "ws":
WsSettings wsSettings = new WsSettings
- {
- connectionReuse = true
+ {
};
string path = config.path();
@@ -689,7 +688,6 @@ namespace v2rayN.Handler
{
TcpSettings tcpSettings = new TcpSettings
{
- connectionReuse = true,
header = new Header
{
type = config.headerType()
diff --git a/v2rayN/v2rayN/Mode/V2rayConfig.cs b/v2rayN/v2rayN/Mode/V2rayConfig.cs
index 9f0cbf1f..bc85c18f 100644
--- a/v2rayN/v2rayN/Mode/V2rayConfig.cs
+++ b/v2rayN/v2rayN/Mode/V2rayConfig.cs
@@ -420,11 +420,7 @@ namespace v2rayN.Mode
}
public class TcpSettings
- {
- ///
- /// 是否重用 TCP 连接
- ///
- public bool connectionReuse { get; set; }
+ {
///
/// 数据包头部伪装设置
///
@@ -488,12 +484,7 @@ namespace v2rayN.Mode
}
public class WsSettings
- {
- ///
- ///
- ///
- public bool connectionReuse { get; set; }
-
+ {
///
///
///