Sockopt: document happyEyeballs conflicts

This commit is contained in:
Meow
2026-07-10 05:29:53 +08:00
parent 21bf14ddb7
commit 5db24cc2d6
3 changed files with 6 additions and 3 deletions
+2 -1
View File
@@ -285,7 +285,8 @@ RFC-8305 实现的 happyEyeballs,仅适用于 TCP。当目标为域名时对
注意:`UseIPv4v6` / `ForceIPv4v6` 会使可用的 IP 列表被缩减到仅剩 IPv4,仅查询失败时才会回退查询 IPv6。不推荐这么用。建议使用 UseIP / ForceIP 配合 `HappyEyeballs.interleave`。
::: warning
使用这个功能时不要使用 `Freedom` 出站的 `domainStrategy`, 这会导致 `Sockopt` 只能看到被替换完毕的 IP.
使用这个功能时不要使用此出站的 `targetStrategy`,这会导致 `Sockopt` 只能看到被替换完毕的 IP。<br>
此外也不能与 `dialerProxy` 一起使用,这会导致 `happyEyeballs` 无法生效。
:::
### HappyEyeballsObject