summaryrefslogtreecommitdiff
path: root/indra/llmessage/llcurl.cpp
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2011-08-02 12:23:50 -0500
committerDave Parks <davep@lindenlab.com>2011-08-02 12:23:50 -0500
commitaa0e35142a35d293acc439e3194260bb4468e728 (patch)
treebf9ab217b04f5e277e11a0d1189a986b4bfcbe6f /indra/llmessage/llcurl.cpp
parentfbd5bd7adc205acecc49c7e9887efa3bca6552d0 (diff)
SH-2183 Only apply multi-threaded curl on the main thread.
Diffstat (limited to 'indra/llmessage/llcurl.cpp')
-rw-r--r--indra/llmessage/llcurl.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/llmessage/llcurl.cpp b/indra/llmessage/llcurl.cpp
index ece539bb48..d48991e5f7 100644
--- a/indra/llmessage/llcurl.cpp
+++ b/indra/llmessage/llcurl.cpp
@@ -85,7 +85,8 @@ S32 gCurlMultiCount = 0;
std::vector<LLMutex*> LLCurl::sSSLMutex;
std::string LLCurl::sCAPath;
std::string LLCurl::sCAFile;
-bool LLCurl::sMultiThreaded = false;
+
+bool ll_thread_local LLCurl::sMultiThreaded = false;
void check_curl_code(CURLcode code)