mirror of
https://github.com/netchx/netch.git
synced 2026-03-20 18:19:44 +08:00
VMess : Automatically choose zero for secure TLS connection
This commit is contained in:
@@ -111,6 +111,10 @@ public static class V2rayConfigUtils
|
||||
case VMessServer vmess:
|
||||
{
|
||||
outbound.protocol = "vmess";
|
||||
if (vmess.EncryptMethod == "auto" && vmess.TLSSecureType != "none" && !Global.Settings.V2RayConfig.AllowInsecure)
|
||||
{
|
||||
vmess.EncryptMethod = "zero";
|
||||
}
|
||||
outbound.settings.vnext = new[]
|
||||
{
|
||||
new VnextItem
|
||||
|
||||
Reference in New Issue
Block a user