mirror of
https://github.com/XTLS/Xray-docs-next.git
synced 2026-09-27 01:00:47 +03:00
Sockopt: document happyEyeballs conflicts
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -279,7 +279,8 @@ An RFC 8305 Happy Eyeballs implementation, TCP only. When the target is a domain
|
||||
Note that `UseIPv4v6` and `ForceIPv4v6` effectively reduce the usable list to IPv4 and only query IPv6 if IPv4 resolution fails. That is not recommended. Prefer `UseIP` or `ForceIP` together with `HappyEyeballs.interleave`.
|
||||
|
||||
::: warning
|
||||
Do not use this together with the `domainStrategy` on a `Freedom` outbound, because then `Sockopt` only sees the final IP after replacement.
|
||||
Do not use this feature together with this outbound's `targetStrategy`, because then `Sockopt` only sees the final IP after replacement.<br>
|
||||
Do not use it together with `dialerProxy` either, because that prevents `happyEyeballs` from taking effect.
|
||||
:::
|
||||
|
||||
### HappyEyeballsObject
|
||||
|
||||
@@ -277,7 +277,8 @@ Xray проверяет, присутствуют ли в запросе заг
|
||||
Значения `UseIPv4v6` и `ForceIPv4v6` фактически сводят список к IPv4 и только при неудаче обращаются к IPv6. Это не рекомендуется. Лучше использовать `UseIP` или `ForceIP` вместе с `HappyEyeballs.interleave`.
|
||||
|
||||
::: warning
|
||||
Не используйте это вместе с `domainStrategy` у `Freedom`, потому что тогда `Sockopt` видит уже конечный IP после подмены.
|
||||
Не используйте эту функцию вместе с `targetStrategy` этого outbound, потому что тогда `Sockopt` увидит только конечный IP после подмены.<br>
|
||||
Также ее нельзя использовать вместе с `dialerProxy`, иначе `happyEyeballs` не сработает.
|
||||
:::
|
||||
|
||||
### HappyEyeballsObject
|
||||
|
||||
Reference in New Issue
Block a user