diff options
author | diva | 2009-04-18 02:37:12 +0000 |
---|---|---|
committer | diva | 2009-04-18 02:37:12 +0000 |
commit | bc02eab4b98e1244e6033e061a8242dfdce3c67c (patch) | |
tree | 43026d938f2a9d0aad28bc77acd2833b9d408ab9 | |
parent | Thank you M1sha for diagnosing and patching a lock bug affecting region cross... (diff) | |
download | opensim-SC-bc02eab4b98e1244e6033e061a8242dfdce3c67c.zip opensim-SC-bc02eab4b98e1244e6033e061a8242dfdce3c67c.tar.gz opensim-SC-bc02eab4b98e1244e6033e061a8242dfdce3c67c.tar.bz2 opensim-SC-bc02eab4b98e1244e6033e061a8242dfdce3c67c.tar.xz |
Commit agent to DB immediately after creation, for LLSD logins too. Addresses mantis #3471. Requires upgrade of User Server in grid mode for this fix to kick in.
-rw-r--r-- | OpenSim/Framework/Communications/Services/LoginService.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Framework/Communications/Services/LoginService.cs b/OpenSim/Framework/Communications/Services/LoginService.cs index bb289e3..72a4281 100644 --- a/OpenSim/Framework/Communications/Services/LoginService.cs +++ b/OpenSim/Framework/Communications/Services/LoginService.cs | |||
@@ -425,6 +425,12 @@ namespace OpenSim.Framework.Communications.Services | |||
425 | 425 | ||
426 | CreateAgent(userProfile, request); | 426 | CreateAgent(userProfile, request); |
427 | 427 | ||
428 | // We need to commit the agent right here, even though the userProfile info is not complete | ||
429 | // at this point. There is another commit further down. | ||
430 | // This is for the new sessionID to be stored so that the region can check it for session authentication. | ||
431 | // CustomiseResponse->PrepareLoginToRegion | ||
432 | CommitAgent(ref userProfile); | ||
433 | |||
428 | try | 434 | try |
429 | { | 435 | { |
430 | UUID agentID = userProfile.ID; | 436 | UUID agentID = userProfile.ID; |