diff --git a/OpenSim/Framework/Servers/BaseHttpServer.cs b/OpenSim/Framework/Servers/BaseHttpServer.cs index ea356ac85b..f69fb5ee1c 100644 --- a/OpenSim/Framework/Servers/BaseHttpServer.cs +++ b/OpenSim/Framework/Servers/BaseHttpServer.cs @@ -50,7 +50,7 @@ namespace OpenSim.Framework.Servers private HttpServerLogWriter httpserverlog = new HttpServerLogWriter(); private volatile int NotSocketErrors = 0; - private volatile bool HTTPDRunning = false; + public volatile bool HTTPDRunning = false; protected Thread m_workerThread; protected HttpListener m_httpListener; diff --git a/OpenSim/Region/Environment/Modules/Communications/REST/RESTInterregionComms.cs b/OpenSim/Region/Environment/Modules/Communications/REST/RESTInterregionComms.cs index 3e8599b43f..4daaab45d1 100644 --- a/OpenSim/Region/Environment/Modules/Communications/REST/RESTInterregionComms.cs +++ b/OpenSim/Region/Environment/Modules/Communications/REST/RESTInterregionComms.cs @@ -642,13 +642,11 @@ namespace OpenSim.Region.Environment.Modules.Communications.REST protected virtual void DoDelete(Hashtable request, Hashtable responsedata, UUID id, string action, ulong regionHandle) { //Console.WriteLine(" >>> DoDelete action:" + action + "; regionHandle:" + regionHandle); - bool result = true; + if (action.Equals("release")) - { - result = m_localBackend.SendReleaseAgent(regionHandle, id, ""); - } + m_localBackend.SendReleaseAgent(regionHandle, id, ""); else - result = m_localBackend.SendCloseAgent(regionHandle, id); + m_localBackend.SendCloseAgent(regionHandle, id); responsedata["int_response_code"] = 200; responsedata["str_response_string"] = "OpenSim agent " + id.ToString();