diff options
author | Rider Linden <none@none> | 2015-04-08 10:17:34 -0700 |
---|---|---|
committer | Rider Linden <none@none> | 2015-04-08 10:17:34 -0700 |
commit | 1c91c8a106a78f2087a3fb4312e428a0128283b4 (patch) | |
tree | 1f80ff372a3a9c2670049f76cde4d6782661dfe9 /indra/llcorehttp | |
parent | fe34b3ef725b83af0deeffcf8bf6ef9769224e8d (diff) |
Adding weak pointer support.
Event polling as a coroutine. (incomplete)
Groundwork for canceling HttpCoroutineAdapter yields.
Diffstat (limited to 'indra/llcorehttp')
-rwxr-xr-x | indra/llcorehttp/httpcommon.h | 1 | ||||
-rwxr-xr-x | indra/llcorehttp/httprequest.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/indra/llcorehttp/httpcommon.h b/indra/llcorehttp/httpcommon.h index ada5c1bbe7..898d3d47fa 100755 --- a/indra/llcorehttp/httpcommon.h +++ b/indra/llcorehttp/httpcommon.h @@ -190,6 +190,7 @@ #include "linden_common.h" // Modifies curl/curl.h interfaces #include "boost/intrusive_ptr.hpp" #include "boost/shared_ptr.hpp" +#include "boost/weak_ptr.hpp" #include "boost/function.hpp" #include <string> diff --git a/indra/llcorehttp/httprequest.h b/indra/llcorehttp/httprequest.h index f7ce82d412..6688f06eb5 100755 --- a/indra/llcorehttp/httprequest.h +++ b/indra/llcorehttp/httprequest.h @@ -98,6 +98,7 @@ public: typedef unsigned int priority_t; typedef boost::shared_ptr<HttpRequest> ptr_t; + typedef boost::weak_ptr<HttpRequest> wptr_t; public: /// @name PolicyMethods /// @{ |