|
|
@ -828,7 +828,10 @@ static bool download_inital_scratchpad(const char* path_to, const char* url) |
|
|
|
if (opt_protocol && opt_debug) { |
|
|
|
if (opt_protocol && opt_debug) { |
|
|
|
curl_easy_setopt(curl, CURLOPT_VERBOSE, 1); |
|
|
|
curl_easy_setopt(curl, CURLOPT_VERBOSE, 1); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
if (opt_proxy) { |
|
|
|
|
|
|
|
curl_easy_setopt(curl, CURLOPT_PROXY, opt_proxy); |
|
|
|
|
|
|
|
curl_easy_setopt(curl, CURLOPT_PROXYTYPE, opt_proxy_type); |
|
|
|
|
|
|
|
} |
|
|
|
curl_easy_setopt(curl, CURLOPT_URL, url); |
|
|
|
curl_easy_setopt(curl, CURLOPT_URL, url); |
|
|
|
curl_easy_setopt(curl, CURLOPT_CONNECTTIMEOUT, 30); |
|
|
|
curl_easy_setopt(curl, CURLOPT_CONNECTTIMEOUT, 30); |
|
|
|
curl_easy_setopt(curl, CURLOPT_TIMEOUT, 300); |
|
|
|
curl_easy_setopt(curl, CURLOPT_TIMEOUT, 300); |
|
|
|