I can see somebody in some source says that we can overwrite curl default timeout by using this option
--connection-timeout. But I get this error :
curl: option --connection-timeout: is unknown
What is wrong here? and how can we set timeout for curl requests?
This question is not yet answered, be the first one who answer using the comment. Later the confirmed answer will be published as the solution.