From bdaab4f1acd3e68fc28e16f2a9b545e6fc5c54bd Mon Sep 17 00:00:00 2001 From: Amazing_DM Date: Fri, 27 Mar 2020 12:03:31 +0800 Subject: [PATCH] =?UTF-8?q?=E6=AD=A4=E5=A4=84=E4=BF=AE=E5=A4=8D=E4=B8=80?= =?UTF-8?q?=E4=B8=AA=E8=AF=A1=E5=BC=82=E7=9A=84BUG=20=E6=84=9F=E8=B0=A2@Co?= =?UTF-8?q?linWood=20Tap=E6=A8=A1=E5=BC=8F=20Mux=E4=B8=8D=E8=83=BD?= =?UTF-8?q?=E4=B8=BANull=20=E5=90=A6=E5=88=99Netch=E5=86=85=E5=AD=98?= =?UTF-8?q?=E5=8D=A0=E7=94=A8=E6=9E=81=E5=A4=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Netch/Controllers/VMessController.cs | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/Netch/Controllers/VMessController.cs b/Netch/Controllers/VMessController.cs index 82e11607..4c00c85b 100644 --- a/Netch/Controllers/VMessController.cs +++ b/Netch/Controllers/VMessController.cs @@ -127,14 +127,18 @@ namespace Netch.Controllers enabled = server.UseMux } }, - new Models.Information.VMess.Outbounds + //此处修复一个诡异的BUG 感谢@ColinWood Tap模式 Mux不能为Null 否则Netch内存占用极大 + /*new Models.Information.VMess.Outbounds { tag = "direct", protocol = "freedom", settings = null, streamSettings = null, + *//*mux = new Models.Information.VMess.OutboundMux(){ + enabled = true + }*//* mux = null - } + }*/ }, routing = new Models.Information.VMess.Routing { @@ -147,7 +151,7 @@ namespace Netch.Controllers { "geoip:cn", "geoip:private" - + }, domain = new List {