Mercurial > hgrepos > Python2 > PyMuPDF
comparison mupdf-source/thirdparty/curl/docs/cmdline-opts/happy-eyeballs-timeout-ms.d @ 2:b50eed0cc0ef upstream
ADD: MuPDF v1.26.7: the MuPDF source as downloaded by a default build of PyMuPDF 1.26.4.
The directory name has changed: no version number in the expanded directory now.
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Mon, 15 Sep 2025 11:43:07 +0200 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| 1:1d09e1dec1d9 | 2:b50eed0cc0ef |
|---|---|
| 1 Long: happy-eyeballs-timeout-ms | |
| 2 Arg: <milliseconds> | |
| 3 Help: How long to wait in milliseconds for IPv6 before trying IPv4 | |
| 4 Added: 7.59.0 | |
| 5 --- | |
| 6 Happy eyeballs is an algorithm that attempts to connect to both IPv4 and IPv6 | |
| 7 addresses for dual-stack hosts, preferring IPv6 first for the number of | |
| 8 milliseconds. If the IPv6 address cannot be connected to within that time then | |
| 9 a connection attempt is made to the IPv4 address in parallel. The first | |
| 10 connection to be established is the one that is used. | |
| 11 | |
| 12 The range of suggested useful values is limited. Happy Eyeballs RFC 6555 says | |
| 13 "It is RECOMMENDED that connection attempts be paced 150-250 ms apart to | |
| 14 balance human factors against network load." libcurl currently defaults to | |
| 15 200 ms. Firefox and Chrome currently default to 300 ms. | |
| 16 | |
| 17 If this option is used several times, the last one will be used. |
