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.
This commit is contained in:
UbitUmarov
2015-08-18 21:32:03 +01:00
parent 2cac56340a
commit 05d72f77ff
5 changed files with 14 additions and 14 deletions

View File

@@ -66,7 +66,7 @@ namespace OpenSim.Capabilities.Handlers
Hashtable ret = new Hashtable();
ret["int_response_code"] = (int)System.Net.HttpStatusCode.NotFound;
ret["content_type"] = "text/plain";
ret["keepalive"] = false;
ret["keepalive"] = true;
ret["reusecontext"] = false;
ret["int_bytes"] = 0;
string textureStr = (string)request["texture_id"];
@@ -112,7 +112,7 @@ namespace OpenSim.Capabilities.Handlers
ret["error_status_text"] = "not found";
ret["str_response_string"] = "not found";
ret["content_type"] = "text/plain";
ret["keepalive"] = false;
ret["keepalive"] = true;
ret["reusecontext"] = false;
ret["int_bytes"] = 0;
}