* Revert to executing existing setup if an added circuit did not already exist
* Not sure why things still worked in the presence of this bug - possibly the problem is compensated for later on. If you are having udp session problems this bug fix may help (though no guarantees).0.6.0-stable
parent
d30a596989
commit
6101202403
|
@ -391,7 +391,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
|||
//Slave regions don't accept new clients
|
||||
if (m_localScene.Region_Status != RegionStatus.SlaveScene)
|
||||
{
|
||||
bool foundExistingCircuit = false;
|
||||
bool isNewCircuit = false;
|
||||
|
||||
lock (clientCircuits)
|
||||
{
|
||||
|
@ -403,11 +403,11 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
|||
|
||||
clientCircuits.Add(epSender, useCircuit.CircuitCode.Code);
|
||||
|
||||
foundExistingCircuit = true;
|
||||
isNewCircuit = true;
|
||||
}
|
||||
}
|
||||
|
||||
if (!foundExistingCircuit)
|
||||
if (isNewCircuit)
|
||||
{
|
||||
// This doesn't need locking as it's synchronized data
|
||||
clientCircuits_reverse[useCircuit.CircuitCode.Code] = epSender;
|
||||
|
|
Loading…
Reference in New Issue