mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 01:06:30 +08:00
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.
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user