mirror of
https://github.com/opensim/opensim.git
synced 2026-07-31 05:45:37 +08:00
* Get the code up to speed with my -#dev e-mail example. (uncomment out lines 227 - 235 to test.
This commit is contained in:
@@ -177,7 +177,7 @@ namespace OpenSim.Region.Environment.Modules.Framework
|
||||
if (m_ids.ContainsKey(avatar.UUID))
|
||||
{
|
||||
// close the event queue.
|
||||
m_ids[avatar.UUID] = -1;
|
||||
//m_ids[avatar.UUID] = -1;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -224,6 +224,16 @@ namespace OpenSim.Region.Environment.Modules.Framework
|
||||
lock (m_ids)
|
||||
thisID = m_ids[agentID];
|
||||
|
||||
//if (element == null)
|
||||
//{
|
||||
// responsedata["int_response_code"] = 502;
|
||||
// responsedata["content_type"] = "text/plain";
|
||||
// responsedata["keepalive"] = false;
|
||||
// responsedata["str_response_string"] = "Upstream error: ";
|
||||
// responsedata["error_status_text"] = "Upstream error:";
|
||||
// return responsedata;
|
||||
//}
|
||||
|
||||
if (thisID == -1) // close-request
|
||||
{
|
||||
responsedata["int_response_code"] = 502;
|
||||
|
||||
Reference in New Issue
Block a user