Stop replacing the host name with it's IP.

Mono DNS resolution is now configurable elsewhere.
Resolving the IP ahead of time causes requests to
be made by IP. If NginX is used to distribute requests
to services by name, this breaks HG teleports.
0.9.1.0-post-fixes
Melanie 2019-10-06 16:10:57 +01:00
parent 39aa27af2b
commit abdc78d6d3
1 changed files with 2 additions and 2 deletions

View File

@ -54,7 +54,7 @@ namespace OpenSim.Services.Connectors.Hypergrid
private string m_ServerURL;
private GridRegion m_Gatekeeper;
public UserAgentServiceConnector(string url) : this(url, true)
public UserAgentServiceConnector(string url) : this(url, false)
{
}
@ -140,7 +140,7 @@ namespace OpenSim.Services.Connectors.Hypergrid
m_Gatekeeper = gatekeeper;
Console.WriteLine(" >>> LoginAgentToGrid <<< " + home.ServerURI);
//Console.WriteLine(" >>> LoginAgentToGrid <<< " + home.ServerURI);
uint flags = fromLogin ? (uint)TeleportFlags.ViaLogin : (uint)TeleportFlags.ViaHome;
EntityTransferContext ctx = new EntityTransferContext();