summaryrefslogtreecommitdiff
path: root/indra/llmessage/llurlrequest.cpp
diff options
context:
space:
mode:
authorBryan O'Sullivan <bos@lindenlab.com>2008-02-29 22:45:02 +0000
committerBryan O'Sullivan <bos@lindenlab.com>2008-02-29 22:45:02 +0000
commit0ff5c1bd1b5b047f5d48102b4c21d461170a6118 (patch)
tree966c967c3442009eb3ec3e00c6900f090edaa2ba /indra/llmessage/llurlrequest.cpp
parent39affbc54410569eb5694f30d10b9edd591f0f5f (diff)
svn merge -r80434:80633 svn+ssh://svn.lindenlab.com/svn/linden/branches/dev-8000
Diffstat (limited to 'indra/llmessage/llurlrequest.cpp')
-rw-r--r--indra/llmessage/llurlrequest.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/llmessage/llurlrequest.cpp b/indra/llmessage/llurlrequest.cpp
index f850656785..d7812942c3 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->mCurl, CURLOPT_PROXY, proxy.c_str());
+}
+
// virtual
LLIOPipe::EStatus LLURLRequest::handleError(
LLIOPipe::EStatus status,