Add HappyEyeballs (#9772)

* Add HappyEyeballs

* Clean up the code

* Fix
This commit is contained in:
DHR60
2026-07-17 01:12:50 +00:00
committed by GitHub
parent d9dc2d7cf5
commit 4584ecc5c9
13 changed files with 164 additions and 45 deletions
@@ -34,6 +34,7 @@ public class Config
public List<KeyEventItem> GlobalHotkeys { get; set; }
public List<CoreTypeItem> CoreTypeItem { get; set; }
public SimpleDNSItem SimpleDNSItem { get; set; }
public HappyEyeballs4RayItem HappyEyeballs4RayItem { get; set; }
#endregion other entities
}
@@ -285,4 +285,14 @@ public class SimpleDNSItem
public bool? ParallelQuery { get; set; }
public string? Hosts { get; set; }
public string? DirectExpectedIPs { get; set; }
public bool? EnableHappyEyeballs { get; set; }
}
[Serializable]
public class HappyEyeballs4RayItem
{
public int? TryDelayMs { get; set; }
public bool? PrioritizeIPv6 { get; set; }
public int? Interleave { get; set; }
public int? MaxConcurrentTry { get; set; }
}