diff options
Diffstat (limited to 'linden/indra/llmessage/llcurl.h')
-rw-r--r-- | linden/indra/llmessage/llcurl.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/linden/indra/llmessage/llcurl.h b/linden/indra/llmessage/llcurl.h index ff63904..3e9c0d4 100644 --- a/linden/indra/llmessage/llcurl.h +++ b/linden/indra/llmessage/llcurl.h | |||
@@ -188,12 +188,14 @@ namespace boost | |||
188 | class LLCurlRequest | 188 | class LLCurlRequest |
189 | { | 189 | { |
190 | public: | 190 | public: |
191 | typedef std::vector<std::string> headers_t; | ||
192 | |||
191 | LLCurlRequest(); | 193 | LLCurlRequest(); |
192 | ~LLCurlRequest(); | 194 | ~LLCurlRequest(); |
193 | 195 | ||
194 | void get(const std::string& url, LLCurl::ResponderPtr responder); | 196 | void get(const std::string& url, LLCurl::ResponderPtr responder); |
195 | bool getByteRange(const std::string& url, S32 offset, S32 length, LLCurl::ResponderPtr responder); | 197 | bool getByteRange(const std::string& url, const headers_t& headers, S32 offset, S32 length, LLCurl::ResponderPtr responder); |
196 | bool post(const std::string& url, const LLSD& data, LLCurl::ResponderPtr responder); | 198 | bool post(const std::string& url, const headers_t& headers, const LLSD& data, LLCurl::ResponderPtr responder); |
197 | S32 process(); | 199 | S32 process(); |
198 | S32 getQueued(); | 200 | S32 getQueued(); |
199 | 201 | ||
@@ -207,6 +209,7 @@ private: | |||
207 | curlmulti_set_t mMultiSet; | 209 | curlmulti_set_t mMultiSet; |
208 | LLCurl::Multi* mActiveMulti; | 210 | LLCurl::Multi* mActiveMulti; |
209 | S32 mActiveRequestCount; | 211 | S32 mActiveRequestCount; |
212 | U32 mThreadID; // debug | ||
210 | }; | 213 | }; |
211 | 214 | ||
212 | class LLCurlEasyRequest | 215 | class LLCurlEasyRequest |