1 c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al. 2 SPDX-License-Identifier: curl 3 Long: connect-timeout 4 Arg: <fractional seconds> 5 Help: Maximum time allowed for connection 6 See-also: max-time 7 Category: connection 8 Example: --connect-timeout 20 $URL 9 Example: --connect-timeout 3.14 $URL 10 Added: 7.7 11 Multi: single 12 --- 13 Maximum time in seconds that you allow curl's connection to take. This only 14 limits the connection phase, so if curl connects within the given period it 15 continues - if not it exits. 16 17 This option accepts decimal values (added in 7.32.0). The decimal value needs 18 to be provided using a dot (.) as decimal separator - not the local version 19 even if it might be using another separator. 20 21 The connection phase is considered complete when the DNS lookup and requested 22 TCP, TLS or QUIC handshakes are done. 23