Skip to content

Commit

Permalink
fixup Eissing comments
Browse files Browse the repository at this point in the history
  • Loading branch information
bagder committed Aug 8, 2024
1 parent a5cac4d commit 126b15f
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions usingcurl/connections/happy.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,12 @@ that are running, wins. The "losers" are then simply discarded.

## Tweak

The two hundred milliseconds delay is sometimes making your connections slower
than you want to. For example if the host is just silently swallowing the TCP
packets over IPv6 making the timeout always expire. Or vice versa, maybe you
feel you need to allow it a slightly longer time.
The two hundred milliseconds may delay your connects longer than you might
want. For example when TCP packets over IPv6 are never getting any response on
a certain network path or server.

Or vice versa, you may need to communicate to a server with high latency, in
which case the default timeout would strike too early.

For moments and scenarios like that, curl provides the
`--happy-eyeballs-timeout-ms` command line option. It changes the default two
Expand Down

0 comments on commit 126b15f

Please sign in to comment.