diff options
Diffstat (limited to 'indra/llmessage/llurlrequest.cpp')
-rw-r--r-- | indra/llmessage/llurlrequest.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/llmessage/llurlrequest.cpp b/indra/llmessage/llurlrequest.cpp index f850656785..db67fbeea7 100644 --- a/indra/llmessage/llurlrequest.cpp +++ b/indra/llmessage/llurlrequest.cpp @@ -192,6 +192,11 @@ void LLURLRequest::useProxy(bool use_proxy) } } +void LLURLRequest::useProxy(const std::string &proxy) +{ + curl_easy_setopt(mDetail->mCurlRequest, CURLOPT_PROXY, proxy.c_str()); +} + // virtual LLIOPipe::EStatus LLURLRequest::handleError( LLIOPipe::EStatus status, |