aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llmessage/llurlrequest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/llmessage/llurlrequest.cpp')
-rw-r--r--linden/indra/llmessage/llurlrequest.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/linden/indra/llmessage/llurlrequest.cpp b/linden/indra/llmessage/llurlrequest.cpp
index eabd951..5760197 100644
--- a/linden/indra/llmessage/llurlrequest.cpp
+++ b/linden/indra/llmessage/llurlrequest.cpp
@@ -34,7 +34,6 @@
34#include "linden_common.h" 34#include "linden_common.h"
35#include "llurlrequest.h" 35#include "llurlrequest.h"
36 36
37#include <curl/curl.h>
38#include <algorithm> 37#include <algorithm>
39 38
40#include "llcurl.h" 39#include "llcurl.h"
@@ -192,6 +191,11 @@ void LLURLRequest::useProxy(bool use_proxy)
192 } 191 }
193} 192}
194 193
194void LLURLRequest::useProxy(const std::string &proxy)
195{
196 mDetail->mCurlRequest->setoptString(CURLOPT_PROXY, proxy);
197}
198
195// virtual 199// virtual
196LLIOPipe::EStatus LLURLRequest::handleError( 200LLIOPipe::EStatus LLURLRequest::handleError(
197 LLIOPipe::EStatus status, 201 LLIOPipe::EStatus status,