summaryrefslogtreecommitdiff
path: root/indra/llmessage/llcurl.h
diff options
context:
space:
mode:
authorXiaohong Bao <bao@lindenlab.com>2012-01-25 18:27:40 -0700
committerXiaohong Bao <bao@lindenlab.com>2012-01-25 18:27:40 -0700
commit717a6f3306d9382ea252c3e0f243b785c9cae15a (patch)
tree57d0c330a31b8f26c563930183c77ad80f65b7f6 /indra/llmessage/llcurl.h
parentcc3f90a888ad45a01c0d696b7cf178f5516cfb8f (diff)
Introduce two new parameters "CurlUseMultipleThreads" and "CurlRequestTimeOut" for QA to test Curl.
Diffstat (limited to 'indra/llmessage/llcurl.h')
-rw-r--r--indra/llmessage/llcurl.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/llmessage/llcurl.h b/indra/llmessage/llcurl.h
index 7d2340a6cb..fd664c0fa1 100644
--- a/indra/llmessage/llcurl.h
+++ b/indra/llmessage/llcurl.h
@@ -163,7 +163,7 @@ public:
/**
* @ brief Initialize LLCurl class
*/
- static void initClass(bool multi_threaded = false);
+ static void initClass(F32 curl_reuest_timeout = 120.f, S32 max_number_handles = 256, bool multi_threaded = false);
/**
* @ brief Cleanup LLCurl class
@@ -197,8 +197,10 @@ private:
static LLMutex* sHandleMutexp ;
static S32 sTotalHandles ;
+ static S32 sMaxHandles;
public:
static bool sNotQuitting;
+ static F32 sCurlRequestTimeOut;
};
class LLCurl::Easy