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

This commit is contained in:
2dust 2024-11-13 19:00:35 +08:00
parent a849dec6c2
commit 2de9e14c7d
2 changed files with 7 additions and 1 deletions

View file

@ -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;

View file

@ -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);