aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Capabilities/Handlers/GetTexture/GetTextureHandler.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Capabilities/Handlers/GetTexture/GetTextureHandler.cs')
-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 {