diff options
| author | Rider Linden <rider@lindenlab.com> | 2015-10-14 17:46:24 -0700 |
|---|---|---|
| committer | Rider Linden <rider@lindenlab.com> | 2015-10-14 17:46:24 -0700 |
| commit | bbb9d4f21b018bfffc41f790aab7b54975504027 (patch) | |
| tree | 4c81cfc2348dd98a4a157979afc854568da4caea /indra/newview/llxmlrpctransaction.cpp | |
| parent | 53b947e0397d6b88fdc6c0a10144e5a6d02a67d3 (diff) | |
MAINT-5732: Change to the way event polling handles error conditions and cancel calls.
Refactor any remaining LLCore::HTTPHandlers to use boost::shared_ptr
Started minor refactor in the materials manager into coroutines (unfinished)
Diffstat (limited to 'indra/newview/llxmlrpctransaction.cpp')
| -rwxr-xr-x | indra/newview/llxmlrpctransaction.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llxmlrpctransaction.cpp b/indra/newview/llxmlrpctransaction.cpp index 442ed73c2d..f8b38669b6 100755 --- a/indra/newview/llxmlrpctransaction.cpp +++ b/indra/newview/llxmlrpctransaction.cpp @@ -175,7 +175,7 @@ public: virtual void onCompleted(LLCore::HttpHandle handle, LLCore::HttpResponse * response); - typedef boost::unique_ptr<LLXMLRPCTransaction::Handler> ptr_t; + typedef boost::shared_ptr<LLXMLRPCTransaction::Handler> ptr_t; private: @@ -390,7 +390,7 @@ void LLXMLRPCTransaction::Impl::init(XMLRPC_REQUEST request, bool useGzip) mHandler = LLXMLRPCTransaction::Handler::ptr_t(new Handler( mHttpRequest, this )); mPostH = mHttpRequest->requestPost(LLCore::HttpRequest::DEFAULT_POLICY_ID, 0, - mURI, body.get(), httpOpts, httpHeaders, mHandler.get()); + mURI, body.get(), httpOpts, httpHeaders, mHandler); } |
