Remove Justin's addition to avoid sending incoming packets to inactive clients
This also causes the initial AgentUpdate to be rejected because our processing is asynchronous.avinationmerge
parent
f671e446bf
commit
34f0694938
|
@ -1478,8 +1478,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||||
Packet packet = incomingPacket.Packet;
|
Packet packet = incomingPacket.Packet;
|
||||||
LLClientView client = incomingPacket.Client;
|
LLClientView client = incomingPacket.Client;
|
||||||
|
|
||||||
if (client.IsActive)
|
// if (client.IsActive)
|
||||||
{
|
// {
|
||||||
m_currentIncomingClient = client;
|
m_currentIncomingClient = client;
|
||||||
|
|
||||||
try
|
try
|
||||||
|
@ -1506,13 +1506,13 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||||
{
|
{
|
||||||
m_currentIncomingClient = null;
|
m_currentIncomingClient = null;
|
||||||
}
|
}
|
||||||
}
|
// }
|
||||||
else
|
// else
|
||||||
{
|
// {
|
||||||
m_log.DebugFormat(
|
// m_log.DebugFormat(
|
||||||
"[LLUDPSERVER]: Dropped incoming {0} for dead client {1} in {2}",
|
// "[LLUDPSERVER]: Dropped incoming {0} for dead client {1} in {2}",
|
||||||
packet.Type, client.Name, m_scene.RegionInfo.RegionName);
|
// packet.Type, client.Name, m_scene.RegionInfo.RegionName);
|
||||||
}
|
// }
|
||||||
}
|
}
|
||||||
|
|
||||||
protected void LogoutHandler(IClientAPI client)
|
protected void LogoutHandler(IClientAPI client)
|
||||||
|
|
Loading…
Reference in New Issue