connect-timeout.d 634 B

1234567891011121314151617
  1. c: Copyright (C) 1998 - 2022, 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. ---
  12. Maximum time in seconds that you allow curl's connection to take. This only
  13. limits the connection phase, so if curl connects within the given period it
  14. will continue - if not it will exit. Since version 7.32.0, this option
  15. accepts decimal values.
  16. If this option is used several times, the last one will be used.