summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2017-03-06 17:07:44 -0500
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2017-03-06 17:07:44 -0500
commit1f44919b3fc994adc27d16fc9dbd476c08d24e3a (patch)
tree12fbba98a94fa9164cdf98e635efeeffa919e749 /indra
parent015463c7313f93b178c517519d71889ab897361a (diff)
SL-409 - use AP_TEXTURE policy for other viewer asset fetches. Enables pipelining.
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llviewerassetstorage.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/llviewerassetstorage.cpp b/indra/newview/llviewerassetstorage.cpp
index 41f407b8d9..153108d8a9 100644
--- a/indra/newview/llviewerassetstorage.cpp
+++ b/indra/newview/llviewerassetstorage.cpp
@@ -33,6 +33,7 @@
#include "message.h"
#include "llagent.h"
+#include "llappcorehttp.h"
#include "llviewerregion.h"
#include "lltransfersourceasset.h"
@@ -474,7 +475,7 @@ void LLViewerAssetStorage::assetRequestCoro(
std::string url = getAssetURL(uuid,atype);
LL_DEBUGS("ViewerAsset") << "request url: " << url << LL_ENDL;
- LLCore::HttpRequest::policy_t httpPolicy(LLCore::HttpRequest::DEFAULT_POLICY_ID);
+ LLCore::HttpRequest::policy_t httpPolicy(LLAppCoreHttp::AP_TEXTURE);
LLCoreHttpUtil::HttpCoroutineAdapter::ptr_t
httpAdapter(new LLCoreHttpUtil::HttpCoroutineAdapter("assetRequestCoro", httpPolicy));
LLCore::HttpRequest::ptr_t httpRequest(new LLCore::HttpRequest);