diff options
author | Oz Linden <oz@lindenlab.com> | 2011-08-25 13:27:52 -0400 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2011-08-25 13:27:52 -0400 |
commit | 4057afd29161ad9cb69674ee608e48bc9e46a559 (patch) | |
tree | 058c53cb19d9b3e85fb0f9b70623c563704cdf17 /indra/llmessage/llhttpassetstorage.cpp | |
parent | 0f1dea30f827f920d2323d9450826f1a4baaa10b (diff) | |
parent | 7c222dfd136a4bb97700b390f8adbef6fe67cf5d (diff) |
merge changes for storm-1268
Diffstat (limited to 'indra/llmessage/llhttpassetstorage.cpp')
-rw-r--r-- | indra/llmessage/llhttpassetstorage.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/llmessage/llhttpassetstorage.cpp b/indra/llmessage/llhttpassetstorage.cpp index 5a38b7fd9f..2bca517e97 100644 --- a/indra/llmessage/llhttpassetstorage.cpp +++ b/indra/llmessage/llhttpassetstorage.cpp @@ -33,6 +33,7 @@ #include "indra_constants.h" #include "message.h" +#include "llproxy.h" #include "llvfile.h" #include "llvfs.h" @@ -232,6 +233,10 @@ void LLHTTPAssetRequest::setupCurlHandle() { // *NOTE: Similar code exists in mapserver/llcurlutil.cpp JC mCurlHandle = curl_easy_init(); + + // Apply proxy settings if configured to do so + LLProxy::getInstance()->applyProxySettings(mCurlHandle); + curl_easy_setopt(mCurlHandle, CURLOPT_NOSIGNAL, 1); curl_easy_setopt(mCurlHandle, CURLOPT_NOPROGRESS, 1); curl_easy_setopt(mCurlHandle, CURLOPT_URL, mURLBuffer.c_str()); |