diff options
Diffstat (limited to 'OpenSim/Region/ClientStack/Linden/Caps/GetTextureModule.cs')
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/Caps/GetTextureModule.cs | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/Caps/GetTextureModule.cs b/OpenSim/Region/ClientStack/Linden/Caps/GetTextureModule.cs index e053054..54e8d76 100644 --- a/OpenSim/Region/ClientStack/Linden/Caps/GetTextureModule.cs +++ b/OpenSim/Region/ClientStack/Linden/Caps/GetTextureModule.cs | |||
@@ -283,7 +283,7 @@ namespace OpenSim.Region.ClientStack.Linden | |||
283 | response["int_response_code"] = 500; | 283 | response["int_response_code"] = 500; |
284 | response["str_response_string"] = "Script timeout"; | 284 | response["str_response_string"] = "Script timeout"; |
285 | response["content_type"] = "text/plain"; | 285 | response["content_type"] = "text/plain"; |
286 | response["keepalive"] = false; | 286 | response["keepalive"] = true; |
287 | response["reusecontext"] = false; | 287 | response["reusecontext"] = false; |
288 | 288 | ||
289 | return response; | 289 | return response; |
@@ -300,11 +300,16 @@ namespace OpenSim.Region.ClientStack.Linden | |||
300 | { | 300 | { |
301 | response = new Hashtable(); | 301 | response = new Hashtable(); |
302 | 302 | ||
303 | |||
303 | response["int_response_code"] = 503; | 304 | response["int_response_code"] = 503; |
304 | response["str_response_string"] = "Throttled"; | 305 | response["str_response_string"] = "Throttled"; |
305 | response["content_type"] = "text/plain"; | 306 | response["content_type"] = "text/plain"; |
306 | response["keepalive"] = false; | 307 | response["keepalive"] = true; |
307 | response["reusecontext"] = false; | 308 | response["reusecontext"] = false; |
309 | |||
310 | Hashtable headers = new Hashtable(); | ||
311 | headers["Retry-After"] = 30; | ||
312 | response["headers"] = headers; | ||
308 | 313 | ||
309 | lock (responses) | 314 | lock (responses) |
310 | responses[requestID] = new aPollResponse() {bytes = 0, response = response}; | 315 | responses[requestID] = new aPollResponse() {bytes = 0, response = response}; |
@@ -320,7 +325,7 @@ namespace OpenSim.Region.ClientStack.Linden | |||
320 | response["int_response_code"] = 500; | 325 | response["int_response_code"] = 500; |
321 | response["str_response_string"] = "Script timeout"; | 326 | response["str_response_string"] = "Script timeout"; |
322 | response["content_type"] = "text/plain"; | 327 | response["content_type"] = "text/plain"; |
323 | response["keepalive"] = false; | 328 | response["keepalive"] = true; |
324 | response["reusecontext"] = false; | 329 | response["reusecontext"] = false; |
325 | 330 | ||
326 | lock (responses) | 331 | lock (responses) |