aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorMelanie2019-10-06 16:10:57 +0100
committerMelanie2019-10-06 16:10:57 +0100
commitabdc78d6d3afd6063fb197d26a13877452a98981 (patch)
tree76e38e12f18f52ce151b8ae826acd00eb77618d1 /OpenSim
parentmissing file (diff)
downloadopensim-SC-abdc78d6d3afd6063fb197d26a13877452a98981.zip
opensim-SC-abdc78d6d3afd6063fb197d26a13877452a98981.tar.gz
opensim-SC-abdc78d6d3afd6063fb197d26a13877452a98981.tar.bz2
opensim-SC-abdc78d6d3afd6063fb197d26a13877452a98981.tar.xz
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.
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Services/Connectors/Hypergrid/UserAgentServiceConnector.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Services/Connectors/Hypergrid/UserAgentServiceConnector.cs b/OpenSim/Services/Connectors/Hypergrid/UserAgentServiceConnector.cs
index f2bb52a..48ef247 100644
--- a/OpenSim/Services/Connectors/Hypergrid/UserAgentServiceConnector.cs
+++ b/OpenSim/Services/Connectors/Hypergrid/UserAgentServiceConnector.cs
@@ -54,7 +54,7 @@ namespace OpenSim.Services.Connectors.Hypergrid
54 private string m_ServerURL; 54 private string m_ServerURL;
55 private GridRegion m_Gatekeeper; 55 private GridRegion m_Gatekeeper;
56 56
57 public UserAgentServiceConnector(string url) : this(url, true) 57 public UserAgentServiceConnector(string url) : this(url, false)
58 { 58 {
59 } 59 }
60 60
@@ -140,7 +140,7 @@ namespace OpenSim.Services.Connectors.Hypergrid
140 140
141 m_Gatekeeper = gatekeeper; 141 m_Gatekeeper = gatekeeper;
142 142
143 Console.WriteLine(" >>> LoginAgentToGrid <<< " + home.ServerURI); 143 //Console.WriteLine(" >>> LoginAgentToGrid <<< " + home.ServerURI);
144 144
145 uint flags = fromLogin ? (uint)TeleportFlags.ViaLogin : (uint)TeleportFlags.ViaHome; 145 uint flags = fromLogin ? (uint)TeleportFlags.ViaLogin : (uint)TeleportFlags.ViaHome;
146 EntityTransferContext ctx = new EntityTransferContext(); 146 EntityTransferContext ctx = new EntityTransferContext();