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?
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 */