diff options
| author | Nat Goodspeed <nat@lindenlab.com> | 2012-12-04 17:09:23 -0500 |
|---|---|---|
| committer | Nat Goodspeed <nat@lindenlab.com> | 2012-12-04 17:09:23 -0500 |
| commit | 87b4386ac6c98bca51faff7971e551cbd0676a63 (patch) | |
| tree | 3eecf5cdf7b0286159267169ec24a0d1c953fade /indra/llcorehttp/examples | |
| parent | a2bdc1d2d3abdc8ee09ded68185b10070b17d979 (diff) | |
| parent | 7515736c6869ded76fbfdd481e234a58b7143ea5 (diff) | |
merge changes for DRTVWR-251
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()) { |
