What is the default timeout value for curl?

What is the default value of the curl command's timeout? If it's the default socket timeout, then how do I get that value?

0

1 Answer

The answer by @scai at this Unix and Linux question is still correct. From lib/connect.h:

#define DEFAULT_CONNECT_TIMEOUT 300000 /* milliseconds == five minutes */

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like