gridinfo and ossl

This commit is contained in:
UbitUmarov
2020-09-26 14:25:36 +01:00
parent 6b97367ed0
commit e6d14ad303
3 changed files with 23 additions and 28 deletions

View File

@@ -331,6 +331,26 @@ namespace OpenSim.Framework
}
}
public string HGHomeURL
{
get
{
if (m_homeURL.URLType != UriHostNameType.Unknown && m_hasHGconfig)
return m_homeURL.URL;
return null;
}
}
public string HGHomeURLNoEndSlash
{
get
{
if (m_homeURL.URLType != UriHostNameType.Unknown && m_hasHGconfig)
return m_homeURL.URL.Substring(0, m_gateKeeperURL.URL.Length - 1);
return null;
}
}
// -2 dns failed
// -1 if bad url
// 0 if not local