give up on OutPacket drop condition on closing
parent
b887b7625e
commit
586c81eecd
|
@ -12946,12 +12946,14 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||||
/// provide your own method.</param>
|
/// provide your own method.</param>
|
||||||
protected void OutPacket(Packet packet, ThrottleOutPacketType throttlePacketType, bool doAutomaticSplitting, UnackedPacketMethod method)
|
protected void OutPacket(Packet packet, ThrottleOutPacketType throttlePacketType, bool doAutomaticSplitting, UnackedPacketMethod method)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
/* this is causing packet loss for some reason
|
||||||
if(!m_udpClient.IsConnected)
|
if(!m_udpClient.IsConnected)
|
||||||
{
|
{
|
||||||
PacketPool.Instance.ReturnPacket(packet);
|
PacketPool.Instance.ReturnPacket(packet);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
if (m_outPacketsToDrop != null)
|
if (m_outPacketsToDrop != null)
|
||||||
{
|
{
|
||||||
if (m_outPacketsToDrop.Contains(packet.Type.ToString()))
|
if (m_outPacketsToDrop.Contains(packet.Type.ToString()))
|
||||||
|
|
Loading…
Reference in New Issue