summaryrefslogtreecommitdiff
path: root/indra/llmessage/llcurl.h
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2011-08-01 17:50:43 -0500
committerDave Parks <davep@lindenlab.com>2011-08-01 17:50:43 -0500
commitfbd5bd7adc205acecc49c7e9887efa3bca6552d0 (patch)
tree6fb12e7666ad09224a37c53556298a43c2bfc1a6 /indra/llmessage/llcurl.h
parentc6ee98394e3d4b90bdffb4c84d03afc8d3d2d955 (diff)
SH-2183 Add a debug setting to control whether or not to use multiple threads in LLCurl
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 56d086c30a..b2c7b36a76 100644
--- a/indra/llmessage/llcurl.h
+++ b/indra/llmessage/llcurl.h
@@ -55,6 +55,8 @@ public:
class Easy;
class Multi;
+ static bool sMultiThreaded;
+
struct TransferInfo
{
TransferInfo() : mSizeDownload(0.0), mTotalTime(0.0), mSpeedDownload(0.0) {}
@@ -159,7 +161,7 @@ public:
/**
* @ brief Initialize LLCurl class
*/
- static void initClass();
+ static void initClass(bool multi_threaded = false);
/**
* @ brief Cleanup LLCurl class