diff options
author | UbitUmarov | 2019-02-25 21:46:23 +0000 |
---|---|---|
committer | UbitUmarov | 2019-02-25 21:46:23 +0000 |
commit | d01165818dad7bd81aed07fa983951fecc5a80cd (patch) | |
tree | 605655eb6512d37786c969c01c84073c9e1c7ccd /OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | |
parent | make the options visible on OpenSimDefaults (diff) | |
download | opensim-SC-d01165818dad7bd81aed07fa983951fecc5a80cd.zip opensim-SC-d01165818dad7bd81aed07fa983951fecc5a80cd.tar.gz opensim-SC-d01165818dad7bd81aed07fa983951fecc5a80cd.tar.bz2 opensim-SC-d01165818dad7bd81aed07fa983951fecc5a80cd.tar.xz |
change UDPPacketBuffer pools (does waste a bit of memory)
Diffstat (limited to 'OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs')
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs index 943be07..3cb9388 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | |||
@@ -12555,14 +12555,6 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
12555 | /// provide your own method.</param> | 12555 | /// provide your own method.</param> |
12556 | protected void OutPacket(Packet packet, ThrottleOutPacketType throttlePacketType, bool doAutomaticSplitting, UnackedPacketMethod method) | 12556 | protected void OutPacket(Packet packet, ThrottleOutPacketType throttlePacketType, bool doAutomaticSplitting, UnackedPacketMethod method) |
12557 | { | 12557 | { |
12558 | |||
12559 | /* this is causing packet loss for some reason | ||
12560 | if(!m_udpClient.IsConnected) | ||
12561 | { | ||
12562 | PacketPool.Instance.ReturnPacket(packet); | ||
12563 | return; | ||
12564 | } | ||
12565 | */ | ||
12566 | if (m_outPacketsToDrop != null) | 12558 | if (m_outPacketsToDrop != null) |
12567 | { | 12559 | { |
12568 | if (m_outPacketsToDrop.Contains(packet.Type.ToString())) | 12560 | if (m_outPacketsToDrop.Contains(packet.Type.ToString())) |