CURLOPT_TIMEOUT_MS (3) Linux Manual Page
CURLOPT_TIMEOUT_MS – set maximum time the request is allowed to take Synopsis#include <curl/curl.h> CURLcode curl_easy_setopt(CURL *handle, CURLOPT_TIMEOUT_MS, long timeout); DescriptionPass a long as parameter containing timeout – the maximum time in milliseconds that you allow the libcurl transfer operation to take. Normally, name lookups can take a considerable time and limiting operations to less than…
