aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/lltexturefetch.h
diff options
context:
space:
mode:
authorthickbrick2010-10-14 20:34:04 +0200
committerthickbrick2010-10-14 20:34:04 +0200
commit4d9f3db24601091947611aa20efbb8432e4f2aa7 (patch)
treea9c3799df18c9f9decf611ed882326e62a269979 /linden/indra/newview/lltexturefetch.h
parentMore robust handling of http texture responses. (diff)
downloadmeta-impy-4d9f3db24601091947611aa20efbb8432e4f2aa7.zip
meta-impy-4d9f3db24601091947611aa20efbb8432e4f2aa7.tar.gz
meta-impy-4d9f3db24601091947611aa20efbb8432e4f2aa7.tar.bz2
meta-impy-4d9f3db24601091947611aa20efbb8432e4f2aa7.tar.xz
Work around for buggy range responses in OpenSim
Ugly work around for http://opensimulator.org/mantis/view.php?id=5081 by adding 1 to the http request range when on affected versions, and always requesting ranges that start with 0 (viewer2 style).
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/lltexturefetch.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/linden/indra/newview/lltexturefetch.h b/linden/indra/newview/lltexturefetch.h
index 5eca0ba..61f76bc 100644
--- a/linden/indra/newview/lltexturefetch.h
+++ b/linden/indra/newview/lltexturefetch.h
@@ -86,6 +86,8 @@ public:
86 86
87 LLTextureInfo* getTextureInfo() { return &mTextureInfo; } 87 LLTextureInfo* getTextureInfo() { return &mTextureInfo; }
88 88
89 static bool hasBuggyHTTPRange(); // *TODO: remove this *HACK once buggy OpenSim versions are gone
90
89protected: 91protected:
90 void addToNetworkQueue(LLTextureFetchWorker* worker); 92 void addToNetworkQueue(LLTextureFetchWorker* worker);
91 void removeFromNetworkQueue(LLTextureFetchWorker* worker, bool cancel); 93 void removeFromNetworkQueue(LLTextureFetchWorker* worker, bool cancel);