aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--OpenSim/Services/Connectors/Hypergrid/HeloServicesConnector.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Services/Connectors/Hypergrid/HeloServicesConnector.cs b/OpenSim/Services/Connectors/Hypergrid/HeloServicesConnector.cs
index 5004d99..d04cc22 100644
--- a/OpenSim/Services/Connectors/Hypergrid/HeloServicesConnector.cs
+++ b/OpenSim/Services/Connectors/Hypergrid/HeloServicesConnector.cs
@@ -75,6 +75,12 @@ namespace OpenSim.Services.Connectors
75 75
76 public virtual string Helo() 76 public virtual string Helo()
77 { 77 {
78 if (String.IsNullOrEmpty(m_ServerURI))
79 {
80 m_log.WarnFormat("[HELO SERVICE]: Unable to invoke HELO due to malformed URL");
81 return String.Empty;
82 }
83
78 HttpWebRequest req = (HttpWebRequest)HttpWebRequest.Create(m_ServerURI); 84 HttpWebRequest req = (HttpWebRequest)HttpWebRequest.Create(m_ServerURI);
79 // Eventually we need to switch to HEAD 85 // Eventually we need to switch to HEAD
80 /* req.Method = "HEAD"; */ 86 /* req.Method = "HEAD"; */