Fixed bug in HG that was causing secondlife:// refs to bomb the client.
Also fiddled a bit more with the initial CAP in the user server.0.6.8-post-fixes
parent
95981776dd
commit
6653a30487
|
@ -279,9 +279,8 @@ namespace OpenSim.Grid.UserServer.Modules
|
|||
//response.SeedCapability = serverURI + CapsUtil.GetCapsSeedPath(capsPath);
|
||||
|
||||
// Take off trailing / so that the caps path isn't //CAPS/someUUID
|
||||
if (regionInfo.httpServerURI.EndsWith("/"))
|
||||
regionInfo.httpServerURI = regionInfo.httpServerURI.Substring(0, regionInfo.httpServerURI.Length - 1);
|
||||
response.SeedCapability = regionInfo.httpServerURI + CapsUtil.GetCapsSeedPath(capsPath);
|
||||
string uri = regionInfo.httpServerURI.Trim(new char[] { '/' });
|
||||
response.SeedCapability = uri + CapsUtil.GetCapsSeedPath(capsPath);
|
||||
|
||||
|
||||
// Notify the target of an incoming user
|
||||
|
|
|
@ -69,7 +69,17 @@ namespace OpenSim.Services.Connectors.Grid
|
|||
XmlRpcRequest request = new XmlRpcRequest("link_region", paramList);
|
||||
string uri = "http://" + info.ExternalEndPoint.Address + ":" + info.HttpPort + "/";
|
||||
m_log.Debug("[HGrid]: Linking to " + uri);
|
||||
XmlRpcResponse response = request.Send(uri, 10000);
|
||||
XmlRpcResponse response = null;
|
||||
try
|
||||
{
|
||||
response = request.Send(uri, 10000);
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
m_log.Debug("[HGrid]: Exception " + e.Message);
|
||||
return uuid;
|
||||
}
|
||||
|
||||
if (response.IsFault)
|
||||
{
|
||||
m_log.ErrorFormat("[HGrid]: remote call returned an error: {0}", response.FaultString);
|
||||
|
|
Loading…
Reference in New Issue