diff options
* The fallthrough of FetchTexture was no longer resulting in a 404 response on missing textures. It was just waiting and no event was being provided. This re-enables the 404 response.
Diffstat (limited to 'OpenSim/Capabilities/Handlers/GetTexture/GetTextureHandler.cs')
-rw-r--r-- | OpenSim/Capabilities/Handlers/GetTexture/GetTextureHandler.cs | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/OpenSim/Capabilities/Handlers/GetTexture/GetTextureHandler.cs b/OpenSim/Capabilities/Handlers/GetTexture/GetTextureHandler.cs index 6437d0b..f667b8f 100644 --- a/OpenSim/Capabilities/Handlers/GetTexture/GetTextureHandler.cs +++ b/OpenSim/Capabilities/Handlers/GetTexture/GetTextureHandler.cs | |||
@@ -176,8 +176,17 @@ namespace OpenSim.Capabilities.Handlers | |||
176 | return true; | 176 | return true; |
177 | } | 177 | } |
178 | 178 | ||
179 | response = new Hashtable(); | ||
180 | |||
181 | response["int_response_code"] = 404; | ||
182 | response["str_response_string"] = "not found"; | ||
183 | response["content_type"] = "text/plain"; | ||
184 | response["keepalive"] = false; | ||
185 | response["reusecontext"] = false; | ||
186 | response["int_bytes"] = 0; | ||
187 | //WriteTextureData(request,response,null,format); | ||
179 | // not found | 188 | // not found |
180 | // m_log.Warn("[GETTEXTURE]: Texture " + textureID + " not found"); | 189 | //m_log.Warn("[GETTEXTURE]: Texture " + textureID + " not found"); |
181 | return true; | 190 | return true; |
182 | } | 191 | } |
183 | 192 | ||