• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 Long: connect-timeout
2 Arg: <fractional seconds>
3 Help: Maximum time allowed for connection
4 See-also: max-time
5 Category: connection
6 Example: --connect-timeout 20 $URL
7 Example: --connect-timeout 3.14 $URL
8 Added: 7.7
9 ---
10 Maximum time in seconds that you allow curl's connection to take.  This only
11 limits the connection phase, so if curl connects within the given period it
12 will continue - if not it will exit.  Since version 7.32.0, this option
13 accepts decimal values.
14 
15 If this option is used several times, the last one will be used.
16