diff options
author | thickbrick | 2010-10-14 20:34:04 +0200 |
---|---|---|
committer | thickbrick | 2010-10-14 20:34:04 +0200 |
commit | 4d9f3db24601091947611aa20efbb8432e4f2aa7 (patch) | |
tree | a9c3799df18c9f9decf611ed882326e62a269979 /linden/indra/newview/lltexturefetch.h | |
parent | More robust handling of http texture responses. (diff) | |
download | meta-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.h | 2 |
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 | |||
89 | protected: | 91 | protected: |
90 | void addToNetworkQueue(LLTextureFetchWorker* worker); | 92 | void addToNetworkQueue(LLTextureFetchWorker* worker); |
91 | void removeFromNetworkQueue(LLTextureFetchWorker* worker, bool cancel); | 93 | void removeFromNetworkQueue(LLTextureFetchWorker* worker, bool cancel); |