Merge branch 'master' of ssh://opensimulator.org/var/git/opensim
commit
30a60d661f
|
@ -535,6 +535,8 @@ namespace OpenSim.Framework.Servers.HttpServer
|
||||||
/// <param name="message"></param>
|
/// <param name="message"></param>
|
||||||
public void Close(string message)
|
public void Close(string message)
|
||||||
{
|
{
|
||||||
|
if (_networkContext == null)
|
||||||
|
return;
|
||||||
if (_networkContext.Stream != null)
|
if (_networkContext.Stream != null)
|
||||||
{
|
{
|
||||||
if (_networkContext.Stream.CanWrite)
|
if (_networkContext.Stream.CanWrite)
|
||||||
|
|
|
@ -57,7 +57,7 @@ namespace OpenSim.Region.CoreModules.Framework.Statistics.Logging
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
IConfig statConfig = source.Configs["Statistics.Binary"];
|
IConfig statConfig = source.Configs["Statistics.Binary"];
|
||||||
if (statConfig.Contains("enabled") && statConfig.GetBoolean("enabled"))
|
if (statConfig != null && statConfig.Contains("enabled") && statConfig.GetBoolean("enabled"))
|
||||||
{
|
{
|
||||||
if (statConfig.Contains("collect_region_stats"))
|
if (statConfig.Contains("collect_region_stats"))
|
||||||
{
|
{
|
||||||
|
|
|
@ -111,13 +111,15 @@ namespace OpenSim.Region.CoreModules.Scripting.XMLRPC
|
||||||
m_rpcPending = new Dictionary<UUID, RPCRequestInfo>();
|
m_rpcPending = new Dictionary<UUID, RPCRequestInfo>();
|
||||||
m_rpcPendingResponses = new Dictionary<UUID, RPCRequestInfo>();
|
m_rpcPendingResponses = new Dictionary<UUID, RPCRequestInfo>();
|
||||||
m_pendingSRDResponses = new Dictionary<UUID, SendRemoteDataRequest>();
|
m_pendingSRDResponses = new Dictionary<UUID, SendRemoteDataRequest>();
|
||||||
|
if (config.Configs["XMLRPC"] != null)
|
||||||
try
|
|
||||||
{
|
|
||||||
m_remoteDataPort = config.Configs["XMLRPC"].GetInt("XmlRpcPort", m_remoteDataPort);
|
|
||||||
}
|
|
||||||
catch (Exception)
|
|
||||||
{
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
m_remoteDataPort = config.Configs["XMLRPC"].GetInt("XmlRpcPort", m_remoteDataPort);
|
||||||
|
}
|
||||||
|
catch (Exception)
|
||||||
|
{
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue