diff options
author | Dave Parks <davep@lindenlab.com> | 2010-11-11 11:23:10 -0600 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2010-11-11 11:23:10 -0600 |
commit | d682394d027e93b1b98e213f588126194ec517d1 (patch) | |
tree | 8844ad2eb02dcb0e2278935d6d9b098e52dc1de4 /indra/newview/lltexturefetch.cpp | |
parent | 2551bfb1b523c1ce2459e0139829a211c36e1bcc (diff) | |
parent | ce667514032510ff1ae47daf0f2727933be849bc (diff) |
merge
Diffstat (limited to 'indra/newview/lltexturefetch.cpp')
-rw-r--r-- | indra/newview/lltexturefetch.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/newview/lltexturefetch.cpp b/indra/newview/lltexturefetch.cpp index d6d38de225..ca7b51a3cc 100644 --- a/indra/newview/lltexturefetch.cpp +++ b/indra/newview/lltexturefetch.cpp @@ -51,6 +51,8 @@ #include "llviewerstats.h" #include "llworld.h" +std::string scrub_host_name(std::string http_url); + ////////////////////////////////////////////////////////////////////////////// class LLTextureFetchWorker : public LLWorkerClass { @@ -912,7 +914,7 @@ bool LLTextureFetchWorker::doWork(S32 param) // Will call callbackHttpGet when curl request completes std::vector<std::string> headers; headers.push_back("Accept: image/x-j2c"); - res = mFetcher->mCurlGetRequest->getByteRange(mUrl, headers, offset, mRequestedSize, + res = mFetcher->mCurlGetRequest->getByteRange(scrub_host_name(mUrl), headers, offset, mRequestedSize, new HTTPGetResponder(mFetcher, mID, LLTimer::getTotalTime(), mRequestedSize, offset, true)); } if (!res) |