summaryrefslogtreecommitdiff
path: root/indra/llmessage/llurlrequest.h
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2013-10-28 20:06:18 -0400
committerNat Goodspeed <nat@lindenlab.com>2013-10-28 20:06:18 -0400
commit57040ea70e21ea5cfaedfd8a3506362a03562552 (patch)
treeeb9dc090ab72bea2353de8a940ccdc7ab69d830e /indra/llmessage/llurlrequest.h
parent8881b47d22a7cd17824e8162e0658af71bbe3dea (diff)
parentd5877bc365292358eb4c9b8d14d1c8a1237ca5bd (diff)
Automated merge with http://bitbucket.org/nat_linden/viewer-maint-3331
Diffstat (limited to 'indra/llmessage/llurlrequest.h')
-rwxr-xr-xindra/llmessage/llurlrequest.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/indra/llmessage/llurlrequest.h b/indra/llmessage/llurlrequest.h
index 44d358d906..20d6e30d17 100755
--- a/indra/llmessage/llurlrequest.h
+++ b/indra/llmessage/llurlrequest.h
@@ -95,7 +95,7 @@ public:
*
* @param action One of the ERequestAction enumerations.
*/
- LLURLRequest(ERequestAction action);
+ LLURLRequest(ERequestAction action, bool follow_redirects = true);
/**
* @brief Constructor.
@@ -103,7 +103,7 @@ public:
* @param action One of the ERequestAction enumerations.
* @param url The url of the request. It should already be encoded.
*/
- LLURLRequest(ERequestAction action, const std::string& url);
+ LLURLRequest(ERequestAction action, const std::string& url, bool follow_redirects = true);
/**
* @brief Destructor.
@@ -219,10 +219,11 @@ protected:
};
EState mState;
ERequestAction mAction;
+ bool mFollowRedirects;
LLURLRequestDetail* mDetail;
LLIOPipe::ptr_t mCompletionCallback;
- S32 mRequestTransferedBytes;
- S32 mResponseTransferedBytes;
+ S32 mRequestTransferedBytes;
+ S32 mResponseTransferedBytes;
static CURLcode _sslCtxCallback(CURL * curl, void *sslctx, void *param);