diff options
author | Kitty Barnett <develop@catznip.com> | 2012-12-17 00:09:01 +0100 |
---|---|---|
committer | Kitty Barnett <develop@catznip.com> | 2012-12-17 00:09:01 +0100 |
commit | 5824e60c595a3004ba24c250cad72a5eace8013f (patch) | |
tree | a3f6839f56c3b19b59eb3509423354ebd12d4814 /indra/llcorehttp/examples | |
parent | a18ea9d92923e331c0a3e179e126659e694b1c07 (diff) | |
parent | 74d3dc41fb7e24410ba052a9c5ce2867fbdb9c0a (diff) |
Merge with viewer-materials tip
Diffstat (limited to 'indra/llcorehttp/examples')
-rw-r--r-- | indra/llcorehttp/examples/http_texture_load.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/indra/llcorehttp/examples/http_texture_load.cpp b/indra/llcorehttp/examples/http_texture_load.cpp index 998dc9240b..40ad4f047d 100644 --- a/indra/llcorehttp/examples/http_texture_load.cpp +++ b/indra/llcorehttp/examples/http_texture_load.cpp @@ -153,6 +153,7 @@ public: // int main(int argc, char** argv) { + LLCore::HttpStatus status; bool do_random(false); bool do_verbose(false); @@ -215,6 +216,9 @@ int main(int argc, char** argv) // Initialization init_curl(); LLCore::HttpRequest::createService(); + LLCore::HttpRequest::setPolicyClassOption(LLCore::HttpRequest::DEFAULT_POLICY_ID, + LLCore::HttpRequest::CP_CONNECTION_LIMIT, + concurrency_limit); LLCore::HttpRequest::startThread(); // Get service point @@ -228,7 +232,7 @@ int main(int argc, char** argv) ws.loadTextureUuids(uuids); ws.mRandomRange = do_random; ws.mVerbose = do_verbose; - ws.mMaxConcurrency = concurrency_limit; + ws.mMaxConcurrency = 100; if (! ws.mTextures.size()) { |