One more thing related to the previous commit. Must avoid all in-process remote calls.

0.7.0.1-release
Diva Canto 2010-08-03 16:27:11 -07:00
parent 62ffc566c3
commit a46538485b
1 changed files with 15 additions and 10 deletions

View File

@ -283,8 +283,12 @@ namespace OpenSim.Services.HypergridService
return false; return false;
} }
if (userURL == m_ExternalName)
m_UserAgentService.VerifyAgent(aCircuit.SecureSessionID, aCircuit.ServiceSessionID);
else
{
Object[] args = new Object[] { userURL }; Object[] args = new Object[] { userURL };
IUserAgentService userAgentService = new UserAgentServiceConnector(userURL); //ServerUtils.LoadPlugin<IUserAgentService>(m_AuthDll, args); IUserAgentService userAgentService = new UserAgentServiceConnector(userURL);
if (userAgentService != null) if (userAgentService != null)
{ {
try try
@ -297,6 +301,7 @@ namespace OpenSim.Services.HypergridService
return false; return false;
} }
} }
}
return false; return false;
} }