summaryrefslogtreecommitdiff
path: root/indra/llcorehttp/httpcommon.h
diff options
context:
space:
mode:
authorAndreyL ProductEngine <none@none>2018-02-12 21:15:00 +0200
committerAndreyL ProductEngine <none@none>2018-02-12 21:15:00 +0200
commite6765df1baa40a46b77e5362c8855a336125e5f7 (patch)
treeffb3564aaa95b23f0d7ab6f6eeea8d08f3e9b317 /indra/llcorehttp/httpcommon.h
parentb0950991988ddd56bec9074316d883a00b0cae4c (diff)
parent02342cb9ae3140cb49ec2818fee5692b3796bf8a (diff)
Merged in lindenlab/viewer-bear
Diffstat (limited to 'indra/llcorehttp/httpcommon.h')
-rw-r--r--indra/llcorehttp/httpcommon.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/indra/llcorehttp/httpcommon.h b/indra/llcorehttp/httpcommon.h
index ea0c38abd7..e4bd4957f8 100644
--- a/indra/llcorehttp/httpcommon.h
+++ b/indra/llcorehttp/httpcommon.h
@@ -188,6 +188,7 @@
///
#include "linden_common.h" // Modifies curl/curl.h interfaces
+#include "llsd.h"
#include "boost/intrusive_ptr.hpp"
#include "boost/shared_ptr.hpp"
#include "boost/weak_ptr.hpp"
@@ -447,14 +448,14 @@ struct HttpStatus
mDetails->mMessage = message;
}
- /// Retrieves an optionally recorded SSL certificate.
- void * getErrorData() const
+ /// Retrieves data about an optionally recorded SSL certificate.
+ LLSD getErrorData() const
{
return mDetails->mErrorData;
}
/// Optionally sets an SSL certificate on this status.
- void setErrorData(void *data)
+ void setErrorData(LLSD data)
{
mDetails->mErrorData = data;
}
@@ -467,7 +468,7 @@ private:
mType(type),
mStatus(status),
mMessage(),
- mErrorData(NULL)
+ mErrorData()
{}
Details(const Details &rhs) :
@@ -485,7 +486,7 @@ private:
type_enum_t mType;
short mStatus;
std::string mMessage;
- void * mErrorData;
+ LLSD mErrorData;
};
boost::shared_ptr<Details> mDetails;