aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Communications/Hypergrid/HGGridServices.cs
diff options
context:
space:
mode:
authordiva2008-12-24 00:03:33 +0000
committerdiva2008-12-24 00:03:33 +0000
commit857535550cdfc07c8ef985f71342f26d39723499 (patch)
tree6b9b726971771367b154a400f30bf579b49f0d8f /OpenSim/Region/Communications/Hypergrid/HGGridServices.cs
parentPlumb in EventNotification* and EventGodDelete (diff)
downloadopensim-SC_OLD-857535550cdfc07c8ef985f71342f26d39723499.zip
opensim-SC_OLD-857535550cdfc07c8ef985f71342f26d39723499.tar.gz
opensim-SC_OLD-857535550cdfc07c8ef985f71342f26d39723499.tar.bz2
opensim-SC_OLD-857535550cdfc07c8ef985f71342f26d39723499.tar.xz
Better error handling for expect_hg_user on the HG.
Diffstat (limited to 'OpenSim/Region/Communications/Hypergrid/HGGridServices.cs')
-rw-r--r--OpenSim/Region/Communications/Hypergrid/HGGridServices.cs11
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 {