aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorUbitUmarov2012-07-06 01:06:48 +0100
committerUbitUmarov2012-07-06 01:06:48 +0100
commitba91d4ba93103f82876e0f2563c34aa6e4767392 (patch)
tree1382449c2bfe54d2babf925307b1b87ee7657f99
parentConvert the slow request queue into a regular queue and add some cleanup (diff)
downloadopensim-SC_OLD-ba91d4ba93103f82876e0f2563c34aa6e4767392.zip
opensim-SC_OLD-ba91d4ba93103f82876e0f2563c34aa6e4767392.tar.gz
opensim-SC_OLD-ba91d4ba93103f82876e0f2563c34aa6e4767392.tar.bz2
opensim-SC_OLD-ba91d4ba93103f82876e0f2563c34aa6e4767392.tar.xz
Changed GetTexture error code RequestedRangeNotSatisfiable to NotFound, since viewers don't seem to handle that and keep retrying
-rw-r--r--OpenSim/Capabilities/Handlers/GetTexture/GetTextureHandler.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/OpenSim/Capabilities/Handlers/GetTexture/GetTextureHandler.cs b/OpenSim/Capabilities/Handlers/GetTexture/GetTextureHandler.cs
index 217217e..0797215 100644
--- a/OpenSim/Capabilities/Handlers/GetTexture/GetTextureHandler.cs
+++ b/OpenSim/Capabilities/Handlers/GetTexture/GetTextureHandler.cs
@@ -226,7 +226,9 @@ namespace OpenSim.Capabilities.Handlers
226 // sending back the last byte instead of an error status 226 // sending back the last byte instead of an error status
227 if (start >= texture.Data.Length) 227 if (start >= texture.Data.Length)
228 { 228 {
229 response.StatusCode = (int)System.Net.HttpStatusCode.RequestedRangeNotSatisfiable; 229// response.StatusCode = (int)System.Net.HttpStatusCode.RequestedRangeNotSatisfiable;
230 // viewers don't seem to handle RequestedRangeNotSatisfiable and keep retrying with same parameters
231 response.StatusCode = (int)System.Net.HttpStatusCode.NotFound;
230 } 232 }
231 else 233 else
232 { 234 {