* minor: move connection success log message so that it doesn't get printed again if a duplicate use circuit code packet comes in

0.6.3-post-fixes
Justin Clarke Casey 2009-01-21 18:46:44 +00:00
parent 22aeda3ba1
commit d2d273aebe
2 changed files with 7 additions and 7 deletions

View File

@ -442,11 +442,11 @@ namespace OpenSim.Region.ClientStack.LindenUDP
} }
m_packetServer.AddNewClient(epSender, useCircuit, m_assetCache, sessionInfo, epProxy); m_packetServer.AddNewClient(epSender, useCircuit, m_assetCache, sessionInfo, epProxy);
}
m_log.DebugFormat(
m_log.DebugFormat( "[CONNECTION SUCCESS]: Incoming client {0} (circuit code {1}) received and authenticated for {2}",
"[CONNECTION SUCCESS]: Incoming client {0} (circuit code {1}) received and authenticated for {2}", useCircuit.CircuitCode.ID, useCircuit.CircuitCode.Code, m_localScene.RegionInfo.RegionName);
useCircuit.CircuitCode.ID, useCircuit.CircuitCode.Code, m_localScene.RegionInfo.RegionName); }
} }
// Ack the UseCircuitCode packet // Ack the UseCircuitCode packet
@ -459,7 +459,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
ack_it.Header.Sequence = ((useCircuit.Header.Sequence < uint.MaxValue) ? useCircuit.Header.Sequence : 0) + 1; ack_it.Header.Sequence = ((useCircuit.Header.Sequence < uint.MaxValue) ? useCircuit.Header.Sequence : 0) + 1;
ack_it.Header.Reliable = false; ack_it.Header.Reliable = false;
byte[] ackmsg=ack_it.ToBytes(); byte[] ackmsg = ack_it.ToBytes();
// Need some extra space in case we need to add proxy // Need some extra space in case we need to add proxy
// information to the message later // information to the message later

View File

@ -726,7 +726,7 @@ namespace OpenSim.Region.Environment.Scenes
if (reg != null) if (reg != null)
{ {
m_log.DebugFormat( m_log.DebugFormat(
"[SCENE COMMUNICATION SERVICE]: RequestTeleportToLocation to {0} {1}", "[SCENE COMMUNICATION SERVICE]: RequestTeleportToLocation to {0} in {1}",
position, reg.RegionName); position, reg.RegionName);
if (eq == null) if (eq == null)