summaryrefslogtreecommitdiff
path: root/indra/llmessage/llcurl.cpp
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2010-03-02 12:35:19 -0600
committerDave Parks <davep@lindenlab.com>2010-03-02 12:35:19 -0600
commite38adc5baf0bf4090168088fc4b9a71a5b231aa4 (patch)
tree63ec4ba362289df8dc569711149b0573f4dfb77b /indra/llmessage/llcurl.cpp
parente9d926385f4d8933d10bb4a3168628e0a6f0ad2a (diff)
cleanup from review
Diffstat (limited to 'indra/llmessage/llcurl.cpp')
-rw-r--r--indra/llmessage/llcurl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/llmessage/llcurl.cpp b/indra/llmessage/llcurl.cpp
index 637110ba0f..f8a7eb0417 100644
--- a/indra/llmessage/llcurl.cpp
+++ b/indra/llmessage/llcurl.cpp
@@ -546,11 +546,11 @@ void LLCurl::Easy::prepRequest(const std::string& url,
setopt(CURLOPT_SSL_VERIFYPEER, LLCurl::getSSLVerify());
//setopt(CURLOPT_SSL_VERIFYHOST, LLCurl::getSSLVerify()? 2 : 0);
+
+ //don't verify host name so urls with scrubbed host names will work (improves DNS performance)
setopt(CURLOPT_SSL_VERIFYHOST, 0);
setopt(CURLOPT_TIMEOUT, CURL_REQUEST_TIMEOUT);
- setopt(CURLOPT_FORBID_REUSE, TRUE);
-
setoptString(CURLOPT_URL, url);
mResponder = responder;