diff options
| author | William Todd Stinson <stinson@lindenlab.com> | 2012-12-12 12:53:24 -0800 |
|---|---|---|
| committer | William Todd Stinson <stinson@lindenlab.com> | 2012-12-12 12:53:24 -0800 |
| commit | 0a16fc53cfa62447e37505214391af5f4d04bb7f (patch) | |
| tree | 655c5dbd1849cd774a11b5a4a572e2c3b00a1f52 /indra/llcorehttp/examples/http_texture_load.cpp | |
| parent | 3636b10d479043c6e7386bc60af3228bd856f737 (diff) | |
| parent | 78b7a4b37c4762ea9503c1da0f79ab8fc412c2b9 (diff) | |
Pull and merge from ssh://hg@bitbucket.org/stinson_linden/viewer-chui-stinson-merge.
Diffstat (limited to 'indra/llcorehttp/examples/http_texture_load.cpp')
| -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()) { |
