summaryrefslogtreecommitdiff
path: root/indra/llmessage/llcurl.h
diff options
context:
space:
mode:
authorXiaohong Bao <bao@lindenlab.com>2011-11-29 16:18:50 -0700
committerXiaohong Bao <bao@lindenlab.com>2011-11-29 16:18:50 -0700
commit3fc4c14464c1b8152108a5332b754d5b2671e54d (patch)
treefc5ea6cfcd7d78bd4b3964a3753a091bf1266d4f /indra/llmessage/llcurl.h
parent472928043a82ff8f622c96df73c5938c9fb7a455 (diff)
fix a mac build error: a friend declaration issue.
Diffstat (limited to 'indra/llmessage/llcurl.h')
-rw-r--r--indra/llmessage/llcurl.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/indra/llmessage/llcurl.h b/indra/llmessage/llcurl.h
index 23a6ca67e3..a275db3e53 100644
--- a/indra/llmessage/llcurl.h
+++ b/indra/llmessage/llcurl.h
@@ -328,7 +328,7 @@ public:
virtual ~CurlRequest(); // use deleteRequest()
public:
- CurlRequest(handle_t handle, LLCurl::Multi* multi);
+ CurlRequest(handle_t handle, LLCurl::Multi* multi, LLCurlThread* curl_thread);
/*virtual*/ bool processRequest();
/*virtual*/ void finishRequest(bool completed);
@@ -336,8 +336,10 @@ public:
private:
// input
LLCurl::Multi* mMulti;
+ LLCurlThread* mCurlThread;
};
-
+ friend class CurlRequest;
+
public:
LLCurlThread(bool threaded = true) ;
virtual ~LLCurlThread() ;
@@ -345,6 +347,10 @@ public:
S32 update(U32 max_time_ms);
void addMulti(LLCurl::Multi* multi) ;
+ void killMulti(LLCurl::Multi* multi) ;
+
+private:
+ bool doMultiPerform(LLCurl::Multi* multi) ;
void deleteMulti(LLCurl::Multi* multi) ;
} ;