mirror of
https://github.com/opensim/opensim.git
synced 2026-07-31 13:55:35 +08:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user