diff options
author | Melanie Thielker | 2009-05-02 13:16:41 +0000 |
---|---|---|
committer | Melanie Thielker | 2009-05-02 13:16:41 +0000 |
commit | 62bcf0e69405ee1443f66eecd1f3fbd684f0c2a5 (patch) | |
tree | 24a887f787545c95fcc721cf41ac8c9b17d1ef85 /OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | |
parent | Also add these packet to the list of packets to be recycled. No enabled (diff) | |
download | opensim-SC_OLD-62bcf0e69405ee1443f66eecd1f3fbd684f0c2a5.zip opensim-SC_OLD-62bcf0e69405ee1443f66eecd1f3fbd684f0c2a5.tar.gz opensim-SC_OLD-62bcf0e69405ee1443f66eecd1f3fbd684f0c2a5.tar.bz2 opensim-SC_OLD-62bcf0e69405ee1443f66eecd1f3fbd684f0c2a5.tar.xz |
Numerous packet improvements.
Don't allow packets to be resent before they have actually been sent for the
first time. Switch from serializing a packet to get it's length to the LibOMV
provided Length property. Fix resend timing. Fix the use of dangling references
to Acked packets. Fix the packet handler to play nice with the packet pool.
Fix the packet pool. Add data block recycling to the packet pool. Packet pool
is now ENABLED by default. Add config option to disable packet and data block
reuse. Add ObjectUpdate and ImprovedTerseObjectUpdate to the packets being
recycled.
Diffstat (limited to 'OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs')
-rw-r--r-- | OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs index 4acc6be..4bc568c 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | |||
@@ -936,6 +936,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
936 | 936 | ||
937 | LLQueItem item = new LLQueItem(); | 937 | LLQueItem item = new LLQueItem(); |
938 | item.Packet = packet; | 938 | item.Packet = packet; |
939 | item.Sequence = packet.Header.Sequence; | ||
939 | 940 | ||
940 | m_PacketHandler.ProcessOutPacket(item); | 941 | m_PacketHandler.ProcessOutPacket(item); |
941 | 942 | ||