diff options
author | UbitUmarov | 2015-08-18 21:32:03 +0100 |
---|---|---|
committer | UbitUmarov | 2015-08-18 21:32:03 +0100 |
commit | 05d72f77ff38585817dead9b4a812ff97a001dce (patch) | |
tree | 109840c9d524ecddec25b5de2869f68254dd1aa1 /OpenSim/Capabilities/Handlers/GetTexture/GetTextureHandler.cs | |
parent | try to serialize http requests from same connection, so they are processed (diff) | |
download | opensim-SC-05d72f77ff38585817dead9b4a812ff97a001dce.zip opensim-SC-05d72f77ff38585817dead9b4a812ff97a001dce.tar.gz opensim-SC-05d72f77ff38585817dead9b4a812ff97a001dce.tar.bz2 opensim-SC-05d72f77ff38585817dead9b4a812ff97a001dce.tar.xz |
do keepalive on mesh and texture GET. Dont use reusecontext any where.
setting of keepalive is wrong, it should follow the requested one ( or
always as http1.1) only deny if needed (errors). KeepAlive may increase
stress on number of avaiable file descritors.
Diffstat (limited to 'OpenSim/Capabilities/Handlers/GetTexture/GetTextureHandler.cs')
-rw-r--r-- | OpenSim/Capabilities/Handlers/GetTexture/GetTextureHandler.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Capabilities/Handlers/GetTexture/GetTextureHandler.cs b/OpenSim/Capabilities/Handlers/GetTexture/GetTextureHandler.cs index f3efb53..0e0cb39 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"] = false; | 69 | ret["keepalive"] = true; |
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"] = false; | 115 | ret["keepalive"] = true; |
116 | ret["reusecontext"] = false; | 116 | ret["reusecontext"] = false; |
117 | ret["int_bytes"] = 0; | 117 | ret["int_bytes"] = 0; |
118 | } | 118 | } |