aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/Framework/UserManagement
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2013-05-29 23:08:54 +0100
committerJustin Clark-Casey (justincc)2013-05-29 23:08:54 +0100
commitcc7aa88b264cd5fa35591b9768ebc230b1814824 (patch)
tree44e99808d6d44f94b02f9d4684184a66076a8565 /OpenSim/Region/CoreModules/Framework/UserManagement
parentMerge branch 'master' of ssh://opensimulator.org/var/git/opensim (diff)
downloadopensim-SC-cc7aa88b264cd5fa35591b9768ebc230b1814824.zip
opensim-SC-cc7aa88b264cd5fa35591b9768ebc230b1814824.tar.gz
opensim-SC-cc7aa88b264cd5fa35591b9768ebc230b1814824.tar.bz2
opensim-SC-cc7aa88b264cd5fa35591b9768ebc230b1814824.tar.xz
Try caching the user name for a new agent earlier on in the process of establishing a connection, to see if this helps with "Unknown UserUMMTGUN" issues.
The UMMTGUN form of Unknown User seems to appear because a viewer sometimes sends a UUIDNameRequest UDP request that fails to find a binding. However, in theory the incoming agent should have made that binding before any such request is triggered. So moving this binding to an earlier point in the process to see if this makes a difference. Unknown user name is also updated to UserUMMTGUN2 - if you see the old name then you need to clear your viewer cache. This relates to http://opensimulator.org/mantis/view.php?id=6625
Diffstat (limited to 'OpenSim/Region/CoreModules/Framework/UserManagement')
-rw-r--r--OpenSim/Region/CoreModules/Framework/UserManagement/Tests/HGUserManagementModuleTests.cs2
-rw-r--r--OpenSim/Region/CoreModules/Framework/UserManagement/UserManagementModule.cs2
2 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/CoreModules/Framework/UserManagement/Tests/HGUserManagementModuleTests.cs b/OpenSim/Region/CoreModules/Framework/UserManagement/Tests/HGUserManagementModuleTests.cs
index 9259a83..9d36aa5 100644
--- a/OpenSim/Region/CoreModules/Framework/UserManagement/Tests/HGUserManagementModuleTests.cs
+++ b/OpenSim/Region/CoreModules/Framework/UserManagement/Tests/HGUserManagementModuleTests.cs
@@ -46,7 +46,7 @@ namespace OpenSim.Region.CoreModules.Framework.UserManagement.Tests
46 public void TestCachedUserNameForNewAgent() 46 public void TestCachedUserNameForNewAgent()
47 { 47 {
48 TestHelpers.InMethod(); 48 TestHelpers.InMethod();
49 TestHelpers.EnableLogging(); 49// TestHelpers.EnableLogging();
50 50
51 HGUserManagementModule hgumm = new HGUserManagementModule(); 51 HGUserManagementModule hgumm = new HGUserManagementModule();
52 UUID userId = TestHelpers.ParseStem("11"); 52 UUID userId = TestHelpers.ParseStem("11");
diff --git a/OpenSim/Region/CoreModules/Framework/UserManagement/UserManagementModule.cs b/OpenSim/Region/CoreModules/Framework/UserManagement/UserManagementModule.cs
index a720d7b..1e70b84 100644
--- a/OpenSim/Region/CoreModules/Framework/UserManagement/UserManagementModule.cs
+++ b/OpenSim/Region/CoreModules/Framework/UserManagement/UserManagementModule.cs
@@ -320,7 +320,7 @@ namespace OpenSim.Region.CoreModules.Framework.UserManagement
320 else 320 else
321 { 321 {
322 names[0] = "Unknown"; 322 names[0] = "Unknown";
323 names[1] = "UserUMMTGUN"; 323 names[1] = "UserUMMTGUN2";
324 324
325 return false; 325 return false;
326 } 326 }