mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 01:06:30 +08:00
Changed name of the hyperlink XMLRPC method to linkk-region, so that it doesn't conflict with the existing one.
This commit is contained in:
@@ -53,7 +53,7 @@ namespace OpenSim.Server.Handlers.Grid
|
||||
public HypergridServiceInConnector(IConfigSource config, IHttpServer server) :
|
||||
base(config, server)
|
||||
{
|
||||
server.AddXmlRPCHandler("link_region", LinkRegionRequest, false);
|
||||
server.AddXmlRPCHandler("linkk_region", LinkRegionRequest, false);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -66,7 +66,7 @@ namespace OpenSim.Services.Connectors.Grid
|
||||
IList paramList = new ArrayList();
|
||||
paramList.Add(hash);
|
||||
|
||||
XmlRpcRequest request = new XmlRpcRequest("link_region", paramList);
|
||||
XmlRpcRequest request = new XmlRpcRequest("linkk_region", paramList);
|
||||
string uri = "http://" + info.ExternalEndPoint.Address + ":" + info.HttpPort + "/";
|
||||
m_log.Debug("[HGrid]: Linking to " + uri);
|
||||
XmlRpcResponse response = request.Send(uri, 10000);
|
||||
|
||||
@@ -71,7 +71,9 @@ namespace OpenSim.Services.GridService
|
||||
m_log.WarnFormat("[GRID SERVICE]: Region {0} already registered in scope {1}.", regionInfos.RegionID, scopeID);
|
||||
return false;
|
||||
}
|
||||
if (m_Database.Get((int)regionInfos.RegionLocX, (int)regionInfos.RegionLocY, scopeID) != null)
|
||||
// This needs better sanity testing. What if regionInfo is registering in
|
||||
// overlapping coords?
|
||||
if (m_Database.Get(regionInfos.RegionLocX, regionInfos.RegionLocY, scopeID) != null)
|
||||
{
|
||||
m_log.WarnFormat("[GRID SERVICE]: Region {0} tried to register in coordinates {1}, {2} which are already in use in scope {3}.",
|
||||
regionInfos.RegionID, regionInfos.RegionLocX, regionInfos.RegionLocY, scopeID);
|
||||
|
||||
Reference in New Issue
Block a user