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
parent
39aa27af2b
commit
abdc78d6d3
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue