diff options
author | UbitUmarov | 2012-07-06 01:06:48 +0100 |
---|---|---|
committer | UbitUmarov | 2012-07-06 01:06:48 +0100 |
commit | ba91d4ba93103f82876e0f2563c34aa6e4767392 (patch) | |
tree | 1382449c2bfe54d2babf925307b1b87ee7657f99 /OpenSim/Capabilities/Handlers/GetTexture | |
parent | Convert the slow request queue into a regular queue and add some cleanup (diff) | |
download | opensim-SC-ba91d4ba93103f82876e0f2563c34aa6e4767392.zip opensim-SC-ba91d4ba93103f82876e0f2563c34aa6e4767392.tar.gz opensim-SC-ba91d4ba93103f82876e0f2563c34aa6e4767392.tar.bz2 opensim-SC-ba91d4ba93103f82876e0f2563c34aa6e4767392.tar.xz |
Changed GetTexture error code RequestedRangeNotSatisfiable to NotFound, since viewers don't seem to handle that and keep retrying
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Capabilities/Handlers/GetTexture/GetTextureHandler.cs | 4 |
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 | { |