Change the user verification call back to use the host name instead of the

IP address. Fixes NGINX on OSGrid getting confuzzled.
LSLKeyTest
Melanie Thielker 2016-07-11 22:31:32 +01:00
parent 11a8a722df
commit 8239e29be7
1 changed files with 5 additions and 1 deletions

View File

@ -572,7 +572,11 @@ namespace OpenSim.Services.Connectors.Hypergrid
XmlRpcResponse response = null;
try
{
response = request.Send(m_ServerURL, 10000);
// We can not use m_ServerURL here anymore because it causes
// the HTTP request to be built without a host name. This messes
// with OSGrid's NGINX and can make OSGrid avatars unable to TP
// to other grids running recent mono.
response = request.Send(m_ServerURLHost, 10000);
}
catch (Exception e)
{