mirror of
https://github.com/curl/curl.git
synced 2024-12-09 06:30:06 +08:00
fe9f68fa61
In an effort to increase the readability of the "--help all" output on narrow (80 column) terminals. Co-authored-by: Jay Satiro Closes #13169
834 B
834 B
c | SPDX-License-Identifier | Long | Arg | Help | Category | Added | Multi | See-also | Example | |||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al. | curl | connect-timeout | <seconds> | Maximum time allowed to connect | connection | 7.7 | single |
|
|
--connect-timeout
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 continues - if not it exits.
This option accepts decimal values (added in 7.32.0). The decimal value needs to be provided using a dot (.) as decimal separator - not the local version even if it might be using another separator.
The connection phase is considered complete when the DNS lookup and requested TCP, TLS or QUIC handshakes are done.