mirror of
https://github.com/2dust/v2rayN.git
synced 2026-04-22 23:45:47 +00:00
URL test apply fragment (#9157)
Some checks are pending
release Linux / build (push) Waiting to run
release Linux / release-zip (push) Blocked by required conditions
release Linux / build and release deb x64 & arm64 (push) Waiting to run
release Linux / build and release rpm x64 & arm64 (push) Waiting to run
release Linux / build and release rpm riscv64 (push) Waiting to run
release macOS / build (push) Waiting to run
release macOS / release-zip (push) Blocked by required conditions
release macOS / package and release macOS dmg (push) Blocked by required conditions
release Windows desktop (Avalonia UI) / build (push) Waiting to run
release Windows desktop (Avalonia UI) / release-zip (push) Blocked by required conditions
release Windows / build (push) Waiting to run
release Windows / release-zip (push) Blocked by required conditions
Some checks are pending
release Linux / build (push) Waiting to run
release Linux / release-zip (push) Blocked by required conditions
release Linux / build and release deb x64 & arm64 (push) Waiting to run
release Linux / build and release rpm x64 & arm64 (push) Waiting to run
release Linux / build and release rpm riscv64 (push) Waiting to run
release macOS / build (push) Waiting to run
release macOS / release-zip (push) Blocked by required conditions
release macOS / package and release macOS dmg (push) Blocked by required conditions
release Windows desktop (Avalonia UI) / build (push) Waiting to run
release Windows desktop (Avalonia UI) / release-zip (push) Blocked by required conditions
release Windows / build (push) Waiting to run
release Windows / release-zip (push) Blocked by required conditions
This commit is contained in:
parent
6a7b359fcc
commit
c5db319e0e
2 changed files with 14 additions and 4 deletions
|
|
@ -55,6 +55,11 @@ public partial class CoreConfigV2rayService(CoreConfigContext context)
|
|||
GenDns();
|
||||
|
||||
GenStatistic();
|
||||
|
||||
if (_config.CoreBasicItem.EnableFragment)
|
||||
{
|
||||
ApplyOutboundFragment();
|
||||
}
|
||||
ApplyOutboundSendThrough();
|
||||
|
||||
var finalRule = BuildFinalRule();
|
||||
|
|
@ -189,6 +194,10 @@ public partial class CoreConfigV2rayService(CoreConfigContext context)
|
|||
_coreConfig.routing.rules.Add(rule);
|
||||
}
|
||||
|
||||
if (_config.CoreBasicItem.EnableFragment)
|
||||
{
|
||||
ApplyOutboundFragment();
|
||||
}
|
||||
ApplyOutboundSendThrough();
|
||||
//ret.Msg =string.Format(ResUI.SuccessfulConfiguration"), node.getSummary());
|
||||
ret.Success = true;
|
||||
|
|
@ -250,6 +259,11 @@ public partial class CoreConfigV2rayService(CoreConfigContext context)
|
|||
});
|
||||
|
||||
_coreConfig.routing.rules.Add(BuildFinalRule());
|
||||
|
||||
if (_config.CoreBasicItem.EnableFragment)
|
||||
{
|
||||
ApplyOutboundFragment();
|
||||
}
|
||||
ApplyOutboundSendThrough();
|
||||
|
||||
ret.Msg = string.Format(ResUI.SuccessfulConfiguration, "");
|
||||
|
|
|
|||
|
|
@ -12,10 +12,6 @@ public partial class CoreConfigV2rayService
|
|||
GenObservatory(multipleLoad);
|
||||
GenBalancer(multipleLoad);
|
||||
}
|
||||
if (_config.CoreBasicItem.EnableFragment)
|
||||
{
|
||||
ApplyOutboundFragment();
|
||||
}
|
||||
if (context.IsTunEnabled)
|
||||
{
|
||||
_coreConfig.outbounds.Add(BuildDnsOutbound());
|
||||
|
|
|
|||
Loading…
Reference in a new issue