Browse Source

xray-core uses quic to add failure prompts and plans to remove quic

pull/6079/head
2dust 1 week ago
parent
commit
2de9e14c7d
  1. 2
      v2rayN/ServiceLib/Handler/CoreHandler.cs
  2. 6
      v2rayN/ServiceLib/Services/CoreConfig/CoreConfigV2rayService.cs

2
v2rayN/ServiceLib/Handler/CoreHandler.cs

@ -59,7 +59,7 @@ namespace ServiceLib.Handler
var fileName = Utils.GetConfigPath(Global.CoreConfigFileName);
var result = await CoreConfigHandler.GenerateClientConfig(node, fileName);
ShowMsg(false, result.Msg);
ShowMsg(true, result.Msg);
if (result.Success != true)
{
return;

6
v2rayN/ServiceLib/Services/CoreConfig/CoreConfigV2rayService.cs

@ -27,6 +27,12 @@ namespace ServiceLib.Services.CoreConfig
return ret;
}
if (node.GetNetwork() is nameof(ETransport.quic))
{
ret.Msg = ResUI.Incorrectconfiguration + $" - {node.GetNetwork()}";
return ret;
}
ret.Msg = ResUI.InitialConfiguration;
var result = Utils.GetEmbedText(Global.V2raySampleClient);

Loading…
Cancel
Save