Automated merge with ssh://hg.lindenlab.com/monty/viewer-drano-http
commit
014dd3db02
|
|
@ -308,6 +308,8 @@ LLCurl::Easy* LLCurl::Easy::getEasy()
|
|||
// multi handles cache if they are added to one.
|
||||
CURLcode result = curl_easy_setopt(easy->mCurlEasyHandle, CURLOPT_DNS_CACHE_TIMEOUT, 0);
|
||||
check_curl_code(result);
|
||||
result = curl_easy_setopt(easy->mCurlEasyHandle, CURLOPT_IPRESOLVE, CURL_IPRESOLVE_V4);
|
||||
check_curl_code(result);
|
||||
|
||||
++gCurlEasyCount;
|
||||
return easy;
|
||||
|
|
@ -494,7 +496,8 @@ void LLCurl::Easy::prepRequest(const std::string& url,
|
|||
|
||||
//setopt(CURLOPT_VERBOSE, 1); // useful for debugging
|
||||
setopt(CURLOPT_NOSIGNAL, 1);
|
||||
|
||||
setopt(CURLOPT_IPRESOLVE, CURL_IPRESOLVE_V4);
|
||||
|
||||
// Set the CURL options for either Socks or HTTP proxy
|
||||
LLProxy::getInstance()->applyProxySettings(this);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue