diff options
author | Jacek Antonelli | 2008-08-15 23:45:34 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:45:34 -0500 |
commit | cd17687f01420952712a500107e0f93e7ab8d5f8 (patch) | |
tree | ce48c2b706f2c1176290e39fb555fbdf6648ce01 /linden/indra/llmessage/llurlrequest.h | |
parent | Second Life viewer sources 1.19.0.5 (diff) | |
download | meta-impy-cd17687f01420952712a500107e0f93e7ab8d5f8.zip meta-impy-cd17687f01420952712a500107e0f93e7ab8d5f8.tar.gz meta-impy-cd17687f01420952712a500107e0f93e7ab8d5f8.tar.bz2 meta-impy-cd17687f01420952712a500107e0f93e7ab8d5f8.tar.xz |
Second Life viewer sources 1.19.1.0
Diffstat (limited to 'linden/indra/llmessage/llurlrequest.h')
-rw-r--r-- | linden/indra/llmessage/llurlrequest.h | 26 |
1 files changed, 3 insertions, 23 deletions
diff --git a/linden/indra/llmessage/llurlrequest.h b/linden/indra/llmessage/llurlrequest.h index 3b91a1d..dd82a9f 100644 --- a/linden/indra/llmessage/llurlrequest.h +++ b/linden/indra/llmessage/llurlrequest.h | |||
@@ -129,18 +129,8 @@ public: | |||
129 | * | 129 | * |
130 | * Set whether request will check that remote server | 130 | * Set whether request will check that remote server |
131 | * certificates are signed by a known root CA when using HTTPS. | 131 | * certificates are signed by a known root CA when using HTTPS. |
132 | * Use the supplied root certificate bundle if supplied, else use | ||
133 | * the standard bundle as found by libcurl and openssl. | ||
134 | */ | 132 | */ |
135 | void checkRootCertificate(bool check, const char* caBundle = NULL); | 133 | void checkRootCertificate(bool check); |
136 | |||
137 | /** | ||
138 | * @brief Request a particular response encoding if available. | ||
139 | * | ||
140 | * This call is a shortcut for requesting a particular encoding | ||
141 | * from the server, eg, 'gzip'. | ||
142 | */ | ||
143 | void requestEncoding(const char* encoding); | ||
144 | 134 | ||
145 | /** | 135 | /** |
146 | * @brief Return at most size bytes of body. | 136 | * @brief Return at most size bytes of body. |
@@ -168,16 +158,6 @@ public: | |||
168 | void setCallback(LLURLRequestComplete* callback); | 158 | void setCallback(LLURLRequestComplete* callback); |
169 | //@} | 159 | //@} |
170 | 160 | ||
171 | /** | ||
172 | * @ brief Set certificate authority file used to verify HTTPS certs. | ||
173 | */ | ||
174 | static void setCertificateAuthorityFile(const std::string& file_name); | ||
175 | |||
176 | /** | ||
177 | * @ brief Set certificate authority path used to verify HTTPS certs. | ||
178 | */ | ||
179 | static void setCertificateAuthorityPath(const std::string& path); | ||
180 | |||
181 | /* @name LLIOPipe virtual implementations | 161 | /* @name LLIOPipe virtual implementations |
182 | */ | 162 | */ |
183 | 163 | ||
@@ -234,7 +214,7 @@ private: | |||
234 | * @brief Download callback method. | 214 | * @brief Download callback method. |
235 | */ | 215 | */ |
236 | static size_t downCallback( | 216 | static size_t downCallback( |
237 | void* data, | 217 | char* data, |
238 | size_t size, | 218 | size_t size, |
239 | size_t nmemb, | 219 | size_t nmemb, |
240 | void* user); | 220 | void* user); |
@@ -243,7 +223,7 @@ private: | |||
243 | * @brief Upload callback method. | 223 | * @brief Upload callback method. |
244 | */ | 224 | */ |
245 | static size_t upCallback( | 225 | static size_t upCallback( |
246 | void* data, | 226 | char* data, |
247 | size_t size, | 227 | size_t size, |
248 | size_t nmemb, | 228 | size_t nmemb, |
249 | void* user); | 229 | void* user); |