From 3340a579e72f1248bb092a705db068027e46ef75 Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Fri, 24 Oct 2008 21:22:54 +0000 Subject: * Stop creating a circuit if the client fails authentication (i.e. the region server wasn't told that it was coming) * This moves authentication from the client thread (where failure was difficult to detect) to the particular thread handling that packet * I've kept the authentication outside of the crucial clientCircuits lock (though any delay here is probably swamped by the other delays associated with login) * Also added more to the unit test to ensure this doesn't regress --- OpenSim/Framework/AgentCircuitManager.cs | 1 + 1 file changed, 1 insertion(+) (limited to 'OpenSim/Framework/AgentCircuitManager.cs') diff --git a/OpenSim/Framework/AgentCircuitManager.cs b/OpenSim/Framework/AgentCircuitManager.cs index a73e86d..5fd7219 100644 --- a/OpenSim/Framework/AgentCircuitManager.cs +++ b/OpenSim/Framework/AgentCircuitManager.cs @@ -63,6 +63,7 @@ namespace OpenSim.Framework user.LoginInfo.Last = validcircuit.lastname; user.LoginInfo.InventoryFolder = validcircuit.InventoryFolder; user.LoginInfo.BaseFolder = validcircuit.BaseFolder; + user.LoginInfo.StartPos = validcircuit.startpos; } else { -- cgit v1.1