diff options
Diffstat (limited to 'indra/llmessage/llurlrequest.cpp')
-rw-r--r-- | indra/llmessage/llurlrequest.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/indra/llmessage/llurlrequest.cpp b/indra/llmessage/llurlrequest.cpp index b5b45c557e..475bd7a839 100644 --- a/indra/llmessage/llurlrequest.cpp +++ b/indra/llmessage/llurlrequest.cpp @@ -34,7 +34,6 @@ #include "linden_common.h" #include "llurlrequest.h" -#include <curl/curl.h> #include <algorithm> #include "llcurl.h" @@ -64,7 +63,6 @@ public: LLURLRequestDetail(); ~LLURLRequestDetail(); std::string mURL; - std::string mProxy; LLCurlEasyRequest* mCurlRequest; LLBufferArray* mResponseBuffer; LLChannelDescriptors mChannels; @@ -195,11 +193,7 @@ void LLURLRequest::useProxy(bool use_proxy) void LLURLRequest::useProxy(const std::string &proxy) { - mDetail->mProxy = proxy; - curl_easy_setopt( - mDetail->mCurlRequest, - CURLOPT_PROXY, - mDetail->mProxy.c_str()); + mDetail->mCurlRequest->setoptString(CURLOPT_PROXY, proxy); } // virtual |