Update transport.md
parent
b7651cc536
commit
fd673c0d53
|
@ -674,8 +674,8 @@ when `dialerProxy` is set `happyEyeballs` is not applied, and only a random IP w
|
||||||
"happyEyeballs": {
|
"happyEyeballs": {
|
||||||
"tryDelayMs": 250,
|
"tryDelayMs": 250,
|
||||||
"prioritizeIPv6": false,
|
"prioritizeIPv6": false,
|
||||||
|
"interleave": 1,
|
||||||
"maxConcurrentTry": 4,
|
"maxConcurrentTry": 4,
|
||||||
"interleave": 1
|
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -684,14 +684,20 @@ when `dialerProxy` is set `happyEyeballs` is not applied, and only a random IP w
|
||||||
delay time between each attempt in millisecond, RFC-8305 recommend `250`, default is `0`.
|
delay time between each attempt in millisecond, RFC-8305 recommend `250`, default is `0`.
|
||||||
(if it is `0`, happy-eyeballs is disabled)
|
(if it is `0`, happy-eyeballs is disabled)
|
||||||
|
|
||||||
> `interleave`: number
|
|
||||||
|
|
||||||
indicate "First Address Family count" in RFC-8305, default is 1.
|
|
||||||
|
|
||||||
> `prioritizeIPv6`: bool
|
> `prioritizeIPv6`: bool
|
||||||
|
|
||||||
indicate "First Address Family" in RFC-8305, default is false(= prioritizeIPv4)
|
indicate "First Address Family" in RFC-8305, default is false(= prioritizeIPv4)
|
||||||
|
|
||||||
|
> `interleave`: number
|
||||||
|
|
||||||
|
indicate "First Address Family count" in RFC-8305, default is 1.
|
||||||
|
|
||||||
|
for example suppose our IP-list is [ip4-1, ip4-2, ip4-3, ip4-4, ip6-1, ip6-2, ip6-3, ip6-4]
|
||||||
|
when interleave is 1 and prioritizeIPv6 is false, the sorted-ip-list is:
|
||||||
|
[ip4-1, ip6-1, ip4-2, ip6-2, ip4-3, ip6-3, ip4-4, ip6-4]
|
||||||
|
and when for example interleave is 2 and prioritizeIPv6 is true:
|
||||||
|
[ip6-1, ip6-2, ip4-1, ip4-2, ip6-3, ip6-4, ip4-3, ip4-4]
|
||||||
|
|
||||||
> `maxConcurrentTry`: number
|
> `maxConcurrentTry`: number
|
||||||
|
|
||||||
maximum concurrent attempt (this is only maximum and in most cases our concurrent attempts is less, unless all connection fail to connect) also we can always have a maximum of concurrent-attempt as many IPs as we have, and this option is useful when the number of IPs is too high, and we want to control the number of concurrent-attempts, default is 4. if it is 0, happy-eyeballs is disabled.
|
maximum concurrent attempt (this is only maximum and in most cases our concurrent attempts is less, unless all connection fail to connect) also we can always have a maximum of concurrent-attempt as many IPs as we have, and this option is useful when the number of IPs is too high, and we want to control the number of concurrent-attempts, default is 4. if it is 0, happy-eyeballs is disabled.
|
||||||
|
|
Loading…
Reference in New Issue