diff options
author | Diva Canto | 2010-08-03 16:27:11 -0700 |
---|---|---|
committer | Diva Canto | 2010-08-03 16:27:11 -0700 |
commit | ee068dd24361058f8fecb6568cc889e25ecea9b0 (patch) | |
tree | 530275487a2aa4fc77c33e2dd32353769ef98d77 /OpenSim/Services | |
parent | Bug fix (HG): mantis #4891. This doesn't actually fix the underlying bug, but... (diff) | |
download | opensim-SC_OLD-ee068dd24361058f8fecb6568cc889e25ecea9b0.zip opensim-SC_OLD-ee068dd24361058f8fecb6568cc889e25ecea9b0.tar.gz opensim-SC_OLD-ee068dd24361058f8fecb6568cc889e25ecea9b0.tar.bz2 opensim-SC_OLD-ee068dd24361058f8fecb6568cc889e25ecea9b0.tar.xz |
One more thing related to the previous commit. Must avoid all in-process remote calls.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Services/HypergridService/GatekeeperService.cs | 25 |
1 files changed, 15 insertions, 10 deletions
diff --git a/OpenSim/Services/HypergridService/GatekeeperService.cs b/OpenSim/Services/HypergridService/GatekeeperService.cs index 3fc9327..82543ab 100644 --- a/OpenSim/Services/HypergridService/GatekeeperService.cs +++ b/OpenSim/Services/HypergridService/GatekeeperService.cs | |||
@@ -283,18 +283,23 @@ namespace OpenSim.Services.HypergridService | |||
283 | return false; | 283 | return false; |
284 | } | 284 | } |
285 | 285 | ||
286 | Object[] args = new Object[] { userURL }; | 286 | if (userURL == m_ExternalName) |
287 | IUserAgentService userAgentService = new UserAgentServiceConnector(userURL); //ServerUtils.LoadPlugin<IUserAgentService>(m_AuthDll, args); | 287 | m_UserAgentService.VerifyAgent(aCircuit.SecureSessionID, aCircuit.ServiceSessionID); |
288 | if (userAgentService != null) | 288 | else |
289 | { | 289 | { |
290 | try | 290 | Object[] args = new Object[] { userURL }; |
291 | IUserAgentService userAgentService = new UserAgentServiceConnector(userURL); | ||
292 | if (userAgentService != null) | ||
291 | { | 293 | { |
292 | return userAgentService.VerifyAgent(aCircuit.SessionID, aCircuit.ServiceSessionID); | 294 | try |
293 | } | 295 | { |
294 | catch | 296 | return userAgentService.VerifyAgent(aCircuit.SessionID, aCircuit.ServiceSessionID); |
295 | { | 297 | } |
296 | m_log.DebugFormat("[GATEKEEPER SERVICE]: Unable to contact authentication service at {0}", userURL); | 298 | catch |
297 | return false; | 299 | { |
300 | m_log.DebugFormat("[GATEKEEPER SERVICE]: Unable to contact authentication service at {0}", userURL); | ||
301 | return false; | ||
302 | } | ||
298 | } | 303 | } |
299 | } | 304 | } |
300 | 305 | ||