mirror of
https://github.com/curl/curl.git
synced 2024-12-09 06:30:06 +08:00
df45fd1794
gen.pl now insists on C: and SPDX-License-Identifier: fields to be present in all files. Closes #9002
18 lines
634 B
D
18 lines
634 B
D
c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
|
|
SPDX-License-Identifier: curl
|
|
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.
|