diff options
author | McCabe Maxsted | 2009-01-14 07:56:23 -0700 |
---|---|---|
committer | McCabe Maxsted | 2009-01-14 07:56:23 -0700 |
commit | c25939480d6134c200a14ecab23eee60b175596f (patch) | |
tree | 0ed050b7005f87062e11fe1044c3a1c838ecc412 /linden/indra/llmessage/llhttpassetstorage.cpp | |
parent | Added the 'Return to World' inventory option (diff) | |
download | meta-impy-c25939480d6134c200a14ecab23eee60b175596f.zip meta-impy-c25939480d6134c200a14ecab23eee60b175596f.tar.gz meta-impy-c25939480d6134c200a14ecab23eee60b175596f.tar.bz2 meta-impy-c25939480d6134c200a14ecab23eee60b175596f.tar.xz |
Updated llmessage
Diffstat (limited to 'linden/indra/llmessage/llhttpassetstorage.cpp')
-rw-r--r-- | linden/indra/llmessage/llhttpassetstorage.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/linden/indra/llmessage/llhttpassetstorage.cpp b/linden/indra/llmessage/llhttpassetstorage.cpp index fdd521f..6d5a716 100644 --- a/linden/indra/llmessage/llhttpassetstorage.cpp +++ b/linden/indra/llmessage/llhttpassetstorage.cpp | |||
@@ -256,6 +256,10 @@ void LLHTTPAssetRequest::setupCurlHandle() | |||
256 | // disable use of proxy, which can't handle chunked transfers | 256 | // disable use of proxy, which can't handle chunked transfers |
257 | } | 257 | } |
258 | mHTTPHeaders = curl_slist_append(mHTTPHeaders, "Pragma:"); | 258 | mHTTPHeaders = curl_slist_append(mHTTPHeaders, "Pragma:"); |
259 | |||
260 | // bug in curl causes DNS to be cached for too long a time, 0 sets it to never cache DNS results internally (to curl) | ||
261 | curl_easy_setopt(mCurlHandle, CURLOPT_DNS_CACHE_TIMEOUT, 0); | ||
262 | |||
259 | // resist the temptation to explicitly add the Transfer-Encoding: chunked | 263 | // resist the temptation to explicitly add the Transfer-Encoding: chunked |
260 | // header here - invokes a libCURL bug | 264 | // header here - invokes a libCURL bug |
261 | curl_easy_setopt(mCurlHandle, CURLOPT_HTTPHEADER, mHTTPHeaders); | 265 | curl_easy_setopt(mCurlHandle, CURLOPT_HTTPHEADER, mHTTPHeaders); |