mirror of
https://github.com/curl/curl.git
synced 2024-12-21 06:50:10 +08:00
ce6e3e5320
Since "too old" versions are no longer included in the generated man page, this field is now mandatory so that it won't be forgotten and then not included in the documentation. Closes #7786
16 lines
532 B
D
16 lines
532 B
D
Long: connect-timeout
|
|
Arg: <fractional seconds>
|
|
Help: Maximum time allowed for connection
|
|
See-also: max-time
|
|
Category: connection
|
|
Example: --connect-timeout 20 $URL
|
|
Example: --connect-timeout 3.14 $URL
|
|
Added: 7.7
|
|
---
|
|
Maximum time in seconds that you allow curl's connection to take. This only
|
|
limits the connection phase, so if curl connects within the given period it
|
|
will continue - if not it will exit. Since version 7.32.0, this option
|
|
accepts decimal values.
|
|
|
|
If this option is used several times, the last one will be used.
|