Update SSRController.cs

添加ssr启动参数-t 600解决tcp过早超时导致的cod16掉线问题
This commit is contained in:
He Houzhu
2020-04-13 10:02:11 +08:00
committed by GitHub
parent 3f59a63766
commit 5efd88b60c

View File

@@ -34,7 +34,7 @@ namespace Netch.Controllers
Instance = MainController.GetProcess();
Instance.StartInfo.FileName = "bin\\ShadowsocksR.exe";
Instance.StartInfo.Arguments = $"-s {server.Hostname} -p {server.Port} -k \"{server.Password}\" -m {server.EncryptMethod}";
Instance.StartInfo.Arguments = $"-s {server.Hostname} -p {server.Port} -t 600 -k \"{server.Password}\" -m {server.EncryptMethod}";
if (!string.IsNullOrEmpty(server.Protocol))
{