diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Communications/Hypergrid/HGGridServices.cs | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/OpenSim/Region/Communications/Hypergrid/HGGridServices.cs b/OpenSim/Region/Communications/Hypergrid/HGGridServices.cs index 56a8912..fa29460 100644 --- a/OpenSim/Region/Communications/Hypergrid/HGGridServices.cs +++ b/OpenSim/Region/Communications/Hypergrid/HGGridServices.cs | |||
@@ -620,7 +620,16 @@ namespace OpenSim.Region.Communications.Hypergrid | |||
620 | string uri = "http://" + regInfo.ExternalHostName + ":" + regInfo.HttpPort + "/"; | 620 | string uri = "http://" + regInfo.ExternalHostName + ":" + regInfo.HttpPort + "/"; |
621 | //Console.WriteLine("XXX uri: " + uri); | 621 | //Console.WriteLine("XXX uri: " + uri); |
622 | XmlRpcRequest request = new XmlRpcRequest("expect_hg_user", SendParams); | 622 | XmlRpcRequest request = new XmlRpcRequest("expect_hg_user", SendParams); |
623 | XmlRpcResponse reply = request.Send(uri, 6000); | 623 | XmlRpcResponse reply; |
624 | try | ||
625 | { | ||
626 | reply = request.Send(uri, 6000); | ||
627 | } | ||
628 | catch (Exception e) | ||
629 | { | ||
630 | m_log.Warn("[HGrid]: Failed to notify region about user. Reason: " + e.Message); | ||
631 | return false; | ||
632 | } | ||
624 | 633 | ||
625 | if (!reply.IsFault) | 634 | if (!reply.IsFault) |
626 | { | 635 | { |