mirror of
https://github.com/opensim/opensim.git
synced 2026-07-07 21:25:47 +08:00
* Replacing Net.HttpListener with HttpServer.
* This is a HUGE update.. and should be considered fraut with peril. * SSL Mode isn't available *yet* but I'll work on that next. * DrScofld is still working on a radical new thread pump scheme for this which will be implemented soon. * This could break the Build! This could break your Grid!
This commit is contained in:
@@ -224,15 +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 (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:";
|
||||
responsedata["http_protocol_version"] = "HTTP/1.0";
|
||||
return responsedata;
|
||||
}
|
||||
|
||||
if (thisID == -1) // close-request
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user