From 05d72f77ff38585817dead9b4a812ff97a001dce Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Tue, 18 Aug 2015 21:32:03 +0100 Subject: 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. --- OpenSim/Region/ClientStack/Linden/Caps/GetMeshModule.cs | 4 ++-- OpenSim/Region/ClientStack/Linden/Caps/GetTextureModule.cs | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'OpenSim/Region') diff --git a/OpenSim/Region/ClientStack/Linden/Caps/GetMeshModule.cs b/OpenSim/Region/ClientStack/Linden/Caps/GetMeshModule.cs index a381a1b..4c15ad8 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 response["int_response_code"] = 500; response["str_response_string"] = "Script timeout"; response["content_type"] = "text/plain"; - response["keepalive"] = false; + response["keepalive"] = true; response["reusecontext"] = false; return response; @@ -285,7 +285,7 @@ namespace OpenSim.Region.ClientStack.Linden response["int_response_code"] = 500; response["str_response_string"] = "Script timeout"; response["content_type"] = "text/plain"; - response["keepalive"] = false; + response["keepalive"] = true; response["reusecontext"] = false; lock (responses) diff --git a/OpenSim/Region/ClientStack/Linden/Caps/GetTextureModule.cs b/OpenSim/Region/ClientStack/Linden/Caps/GetTextureModule.cs index e053054..656f177 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 response["int_response_code"] = 500; response["str_response_string"] = "Script timeout"; response["content_type"] = "text/plain"; - response["keepalive"] = false; + response["keepalive"] = true; response["reusecontext"] = false; return response; @@ -303,7 +303,7 @@ namespace OpenSim.Region.ClientStack.Linden response["int_response_code"] = 503; response["str_response_string"] = "Throttled"; response["content_type"] = "text/plain"; - response["keepalive"] = false; + response["keepalive"] = true; response["reusecontext"] = false; lock (responses) @@ -320,7 +320,7 @@ namespace OpenSim.Region.ClientStack.Linden response["int_response_code"] = 500; response["str_response_string"] = "Script timeout"; response["content_type"] = "text/plain"; - response["keepalive"] = false; + response["keepalive"] = true; response["reusecontext"] = false; lock (responses) -- cgit v1.1