blob: 6a2889d2168423d307c642a37fd69335f7a57167 [file] [log] [blame]
xf.li6c8fc1e2023-08-12 00:11:09 -07001c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
2SPDX-License-Identifier: curl
3Long: connect-timeout
4Arg: <fractional seconds>
5Help: Maximum time allowed for connection
6See-also: max-time
7Category: connection
8Example: --connect-timeout 20 $URL
9Example: --connect-timeout 3.14 $URL
10Added: 7.7
11Multi: single
12---
13Maximum time in seconds that you allow curl's connection to take. This only
14limits the connection phase, so if curl connects within the given period it
15will continue - if not it will exit. Since version 7.32.0, this option
16accepts decimal values.