mirror of
https://github.com/curl/curl.git
synced 2024-12-09 06:30:06 +08:00
68784d73c3
The file format for each option now features a "Example:" header that can provide one or more examples that get rendered appropriately in the output. All options MUST have at least one example or gen.pl complains at build-time. This fix also does a few other minor format and consistency cleanups. Closes #7654
15 lines
521 B
D
15 lines
521 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
|
|
---
|
|
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.
|