add a Retry-After response header to the 503 sent when we are 2 busy to do
the request. just 503 could mean server down (?)avinationmerge
parent
48ef22f62e
commit
fd82a0a0b7
|
@ -300,11 +300,16 @@ namespace OpenSim.Region.ClientStack.Linden
|
|||
{
|
||||
response = new Hashtable();
|
||||
|
||||
|
||||
response["int_response_code"] = 503;
|
||||
response["str_response_string"] = "Throttled";
|
||||
response["content_type"] = "text/plain";
|
||||
response["keepalive"] = true;
|
||||
response["reusecontext"] = false;
|
||||
|
||||
Hashtable headers = new Hashtable();
|
||||
headers["Retry-After"] = 30;
|
||||
response["headers"] = headers;
|
||||
|
||||
lock (responses)
|
||||
responses[requestID] = new aPollResponse() {bytes = 0, response = response};
|
||||
|
|
Loading…
Reference in New Issue