mirror of
https://github.com/netchx/netch.git
synced 2026-03-18 18:13:21 +08:00
remove connectionReuse
This commit is contained in:
@@ -195,8 +195,6 @@ namespace Netch.Servers.VMess.Models
|
||||
|
||||
public class TcpSettings
|
||||
{
|
||||
public bool connectionReuse { get; set; }
|
||||
|
||||
public Header header { get; set; }
|
||||
}
|
||||
|
||||
@@ -257,8 +255,6 @@ namespace Netch.Servers.VMess.Models
|
||||
|
||||
public class WsSettings
|
||||
{
|
||||
public bool connectionReuse { get; set; }
|
||||
|
||||
public string path { get; set; }
|
||||
|
||||
public Headers headers { get; set; }
|
||||
|
||||
@@ -309,7 +309,6 @@ namespace Netch.Servers.VMess.Utils
|
||||
case "ws":
|
||||
var wsSettings = new WsSettings
|
||||
{
|
||||
connectionReuse = true,
|
||||
headers = !string.IsNullOrWhiteSpace(server.Host)
|
||||
? new Headers {Host = server.Host}
|
||||
: null,
|
||||
|
||||
Reference in New Issue
Block a user