summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorMonty Brandenberg <monty@lindenlab.com>2012-07-09 17:29:21 -0400
committerMonty Brandenberg <monty@lindenlab.com>2012-07-09 17:29:21 -0400
commitd6cbe006d3a9448b8897b42c3a817f914a279f02 (patch)
tree8aa74e612df8981822b7237d3ae99f1c3ac8edfb /indra/newview
parentb3659f2eba2a0a43f48e2c395f1a327dc1114098 (diff)
Take body size as the reply size when Content-Range header isn't available.
Diffstat (limited to 'indra/newview')
-rwxr-xr-xindra/newview/lltexturefetch.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/lltexturefetch.cpp b/indra/newview/lltexturefetch.cpp
index 9d3e7eb2b6..a1f99eeb25 100755
--- a/indra/newview/lltexturefetch.cpp
+++ b/indra/newview/lltexturefetch.cpp
@@ -2074,7 +2074,7 @@ S32 LLTextureFetchWorker::callbackHttpGet(LLCore::HttpResponse * response,
// This could be because it was badly formatted but is more
// likely due to capabilities services which scrub headers
// from responses. Assume we got what we asked for...
- mHttpReplySize = mRequestedSize;
+ mHttpReplySize = data_size;
mHttpReplyOffset = mRequestedOffset;
}
else