summaryrefslogtreecommitdiff
path: root/indra/llmessage
diff options
context:
space:
mode:
authorJosh Bell <josh@lindenlab.com>2008-03-25 19:10:33 +0000
committerJosh Bell <josh@lindenlab.com>2008-03-25 19:10:33 +0000
commit11a3589665aae1a2423e258e40eba45c117627d5 (patch)
tree001b16951e178d15173b5c23dd7d6a7e0eae7c4f /indra/llmessage
parent9fd4dfa5727b9c971b53d73ff273d3a43cc1f3f4 (diff)
svn merge -r 82869:83166 svn+ssh://svn.lindenlab.com/svn/linden/branches/Branch_1-19-2-Server --> release
Includes: DEV-12492 "new" regAPI fails on php-framework-2 DEV-11540 Show browser HUD for A/B test users coming from SL.com. DEV-11730 LLSD parser changes PHP logs to syslog DEV-12146 php llsd_UUID does not pass the IsUUID() validation function DEV-12356 oldstyle FetchInventoryDescendents should be TEMPLATE not LLSD steve's fix to setting the proxy option in curl
Diffstat (limited to 'indra/llmessage')
-rw-r--r--indra/llmessage/llurlrequest.cpp8
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