diff options
author | UbitUmarov | 2015-08-24 07:38:33 +0100 |
---|---|---|
committer | UbitUmarov | 2015-08-24 07:38:33 +0100 |
commit | 018d855f2840988163519ca941a373c77997c689 (patch) | |
tree | d1f3e6f285b177b84dc71f86f0cf41e5148baba3 /OpenSim | |
parent | fix db region find by range for varregions ( ignoring others than Mysql) (diff) | |
download | opensim-SC-018d855f2840988163519ca941a373c77997c689.zip opensim-SC-018d855f2840988163519ca941a373c77997c689.tar.gz opensim-SC-018d855f2840988163519ca941a373c77997c689.tar.bz2 opensim-SC-018d855f2840988163519ca941a373c77997c689.tar.xz |
turn off KeepAlive
Diffstat (limited to 'OpenSim')
4 files changed, 13 insertions, 13 deletions
diff --git a/OpenSim/Capabilities/Handlers/GetMesh/GetMeshHandler.cs b/OpenSim/Capabilities/Handlers/GetMesh/GetMeshHandler.cs index ae1aed7..ec574a3 100644 --- a/OpenSim/Capabilities/Handlers/GetMesh/GetMeshHandler.cs +++ b/OpenSim/Capabilities/Handlers/GetMesh/GetMeshHandler.cs | |||
@@ -61,7 +61,7 @@ namespace OpenSim.Capabilities.Handlers | |||
61 | Hashtable ret = new Hashtable(); | 61 | Hashtable ret = new Hashtable(); |
62 | ret["int_response_code"] = (int)System.Net.HttpStatusCode.NotFound; | 62 | ret["int_response_code"] = (int)System.Net.HttpStatusCode.NotFound; |
63 | ret["content_type"] = "text/plain"; | 63 | ret["content_type"] = "text/plain"; |
64 | ret["keepalive"] = true; | 64 | ret["keepalive"] = false; |
65 | ret["reusecontext"] = false; | 65 | ret["reusecontext"] = false; |
66 | ret["int_bytes"] = 0; | 66 | ret["int_bytes"] = 0; |
67 | ret["int_lod"] = 0; | 67 | ret["int_lod"] = 0; |
@@ -98,7 +98,7 @@ namespace OpenSim.Capabilities.Handlers | |||
98 | Hashtable responsedata = new Hashtable(); | 98 | Hashtable responsedata = new Hashtable(); |
99 | responsedata["int_response_code"] = 400; //501; //410; //404; | 99 | responsedata["int_response_code"] = 400; //501; //410; //404; |
100 | responsedata["content_type"] = "text/plain"; | 100 | responsedata["content_type"] = "text/plain"; |
101 | responsedata["keepalive"] = true; | 101 | responsedata["keepalive"] = false; |
102 | responsedata["str_response_string"] = "Request wasn't what was expected"; | 102 | responsedata["str_response_string"] = "Request wasn't what was expected"; |
103 | responsedata["reusecontext"] = false; | 103 | responsedata["reusecontext"] = false; |
104 | responsedata["int_lod"] = 0; | 104 | responsedata["int_lod"] = 0; |
@@ -116,7 +116,7 @@ namespace OpenSim.Capabilities.Handlers | |||
116 | { | 116 | { |
117 | responsedata["int_response_code"] = 404; //501; //410; //404; | 117 | responsedata["int_response_code"] = 404; //501; //410; //404; |
118 | responsedata["content_type"] = "text/plain"; | 118 | responsedata["content_type"] = "text/plain"; |
119 | responsedata["keepalive"] = true; | 119 | responsedata["keepalive"] = false; |
120 | responsedata["str_response_string"] = "The asset service is unavailable. So is your mesh."; | 120 | responsedata["str_response_string"] = "The asset service is unavailable. So is your mesh."; |
121 | responsedata["reusecontext"] = false; | 121 | responsedata["reusecontext"] = false; |
122 | return responsedata; | 122 | return responsedata; |
@@ -152,7 +152,7 @@ namespace OpenSim.Capabilities.Handlers | |||
152 | { | 152 | { |
153 | responsedata["int_response_code"] = 404; //501; //410; //404; | 153 | responsedata["int_response_code"] = 404; //501; //410; //404; |
154 | responsedata["content_type"] = "text/plain"; | 154 | responsedata["content_type"] = "text/plain"; |
155 | responsedata["keepalive"] = true; | 155 | responsedata["keepalive"] = false; |
156 | responsedata["str_response_string"] = "This range doesnt exist."; | 156 | responsedata["str_response_string"] = "This range doesnt exist."; |
157 | responsedata["reusecontext"] = false; | 157 | responsedata["reusecontext"] = false; |
158 | responsedata["int_lod"] = 3; | 158 | responsedata["int_lod"] = 3; |
@@ -228,7 +228,7 @@ namespace OpenSim.Capabilities.Handlers | |||
228 | { | 228 | { |
229 | responsedata["int_response_code"] = 404; //501; //410; //404; | 229 | responsedata["int_response_code"] = 404; //501; //410; //404; |
230 | responsedata["content_type"] = "text/plain"; | 230 | responsedata["content_type"] = "text/plain"; |
231 | responsedata["keepalive"] = true; | 231 | responsedata["keepalive"] = false; |
232 | responsedata["str_response_string"] = "Unfortunately, this asset isn't a mesh."; | 232 | responsedata["str_response_string"] = "Unfortunately, this asset isn't a mesh."; |
233 | responsedata["reusecontext"] = false; | 233 | responsedata["reusecontext"] = false; |
234 | responsedata["int_lod"] = 1; | 234 | responsedata["int_lod"] = 1; |
@@ -239,7 +239,7 @@ namespace OpenSim.Capabilities.Handlers | |||
239 | { | 239 | { |
240 | responsedata["int_response_code"] = 404; //501; //410; //404; | 240 | responsedata["int_response_code"] = 404; //501; //410; //404; |
241 | responsedata["content_type"] = "text/plain"; | 241 | responsedata["content_type"] = "text/plain"; |
242 | responsedata["keepalive"] = true; | 242 | responsedata["keepalive"] = false; |
243 | responsedata["str_response_string"] = "Your Mesh wasn't found. Sorry!"; | 243 | responsedata["str_response_string"] = "Your Mesh wasn't found. Sorry!"; |
244 | responsedata["reusecontext"] = false; | 244 | responsedata["reusecontext"] = false; |
245 | responsedata["int_lod"] = 0; | 245 | responsedata["int_lod"] = 0; |
diff --git a/OpenSim/Capabilities/Handlers/GetTexture/GetTextureHandler.cs b/OpenSim/Capabilities/Handlers/GetTexture/GetTextureHandler.cs index 0e0cb39..f3efb53 100644 --- a/OpenSim/Capabilities/Handlers/GetTexture/GetTextureHandler.cs +++ b/OpenSim/Capabilities/Handlers/GetTexture/GetTextureHandler.cs | |||
@@ -66,7 +66,7 @@ namespace OpenSim.Capabilities.Handlers | |||
66 | Hashtable ret = new Hashtable(); | 66 | Hashtable ret = new Hashtable(); |
67 | ret["int_response_code"] = (int)System.Net.HttpStatusCode.NotFound; | 67 | ret["int_response_code"] = (int)System.Net.HttpStatusCode.NotFound; |
68 | ret["content_type"] = "text/plain"; | 68 | ret["content_type"] = "text/plain"; |
69 | ret["keepalive"] = true; | 69 | ret["keepalive"] = false; |
70 | ret["reusecontext"] = false; | 70 | ret["reusecontext"] = false; |
71 | ret["int_bytes"] = 0; | 71 | ret["int_bytes"] = 0; |
72 | string textureStr = (string)request["texture_id"]; | 72 | string textureStr = (string)request["texture_id"]; |
@@ -112,7 +112,7 @@ namespace OpenSim.Capabilities.Handlers | |||
112 | ret["error_status_text"] = "not found"; | 112 | ret["error_status_text"] = "not found"; |
113 | ret["str_response_string"] = "not found"; | 113 | ret["str_response_string"] = "not found"; |
114 | ret["content_type"] = "text/plain"; | 114 | ret["content_type"] = "text/plain"; |
115 | ret["keepalive"] = true; | 115 | ret["keepalive"] = false; |
116 | ret["reusecontext"] = false; | 116 | ret["reusecontext"] = false; |
117 | ret["int_bytes"] = 0; | 117 | ret["int_bytes"] = 0; |
118 | } | 118 | } |
diff --git a/OpenSim/Region/ClientStack/Linden/Caps/GetMeshModule.cs b/OpenSim/Region/ClientStack/Linden/Caps/GetMeshModule.cs index 4c15ad8..a381a1b 100644 --- a/OpenSim/Region/ClientStack/Linden/Caps/GetMeshModule.cs +++ b/OpenSim/Region/ClientStack/Linden/Caps/GetMeshModule.cs | |||
@@ -264,7 +264,7 @@ namespace OpenSim.Region.ClientStack.Linden | |||
264 | response["int_response_code"] = 500; | 264 | response["int_response_code"] = 500; |
265 | response["str_response_string"] = "Script timeout"; | 265 | response["str_response_string"] = "Script timeout"; |
266 | response["content_type"] = "text/plain"; | 266 | response["content_type"] = "text/plain"; |
267 | response["keepalive"] = true; | 267 | response["keepalive"] = false; |
268 | response["reusecontext"] = false; | 268 | response["reusecontext"] = false; |
269 | 269 | ||
270 | return response; | 270 | return response; |
@@ -285,7 +285,7 @@ namespace OpenSim.Region.ClientStack.Linden | |||
285 | response["int_response_code"] = 500; | 285 | response["int_response_code"] = 500; |
286 | response["str_response_string"] = "Script timeout"; | 286 | response["str_response_string"] = "Script timeout"; |
287 | response["content_type"] = "text/plain"; | 287 | response["content_type"] = "text/plain"; |
288 | response["keepalive"] = true; | 288 | response["keepalive"] = false; |
289 | response["reusecontext"] = false; | 289 | response["reusecontext"] = false; |
290 | 290 | ||
291 | lock (responses) | 291 | lock (responses) |
diff --git a/OpenSim/Region/ClientStack/Linden/Caps/GetTextureModule.cs b/OpenSim/Region/ClientStack/Linden/Caps/GetTextureModule.cs index 54e8d76..99ccd4b 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"] = true; | 286 | response["keepalive"] = false; |
287 | response["reusecontext"] = false; | 287 | response["reusecontext"] = false; |
288 | 288 | ||
289 | return response; | 289 | return response; |
@@ -304,7 +304,7 @@ namespace OpenSim.Region.ClientStack.Linden | |||
304 | response["int_response_code"] = 503; | 304 | response["int_response_code"] = 503; |
305 | response["str_response_string"] = "Throttled"; | 305 | response["str_response_string"] = "Throttled"; |
306 | response["content_type"] = "text/plain"; | 306 | response["content_type"] = "text/plain"; |
307 | response["keepalive"] = true; | 307 | response["keepalive"] = false; |
308 | response["reusecontext"] = false; | 308 | response["reusecontext"] = false; |
309 | 309 | ||
310 | Hashtable headers = new Hashtable(); | 310 | Hashtable headers = new Hashtable(); |
@@ -325,7 +325,7 @@ namespace OpenSim.Region.ClientStack.Linden | |||
325 | response["int_response_code"] = 500; | 325 | response["int_response_code"] = 500; |
326 | response["str_response_string"] = "Script timeout"; | 326 | response["str_response_string"] = "Script timeout"; |
327 | response["content_type"] = "text/plain"; | 327 | response["content_type"] = "text/plain"; |
328 | response["keepalive"] = true; | 328 | response["keepalive"] = false; |
329 | response["reusecontext"] = false; | 329 | response["reusecontext"] = false; |
330 | 330 | ||
331 | lock (responses) | 331 | lock (responses) |