aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework
diff options
context:
space:
mode:
authorMelanie Thielker2009-05-02 00:20:35 +0000
committerMelanie Thielker2009-05-02 00:20:35 +0000
commit8c9721474116433a4cc38fff598f74c4a152c7fd (patch)
treecc6657addd517be475ad8bf993495dc7ea8f6dbe /OpenSim/Framework
parentFix the issue that stopped the packet pool from working. Add a mechanism (diff)
downloadopensim-SC-8c9721474116433a4cc38fff598f74c4a152c7fd.zip
opensim-SC-8c9721474116433a4cc38fff598f74c4a152c7fd.tar.gz
opensim-SC-8c9721474116433a4cc38fff598f74c4a152c7fd.tar.bz2
opensim-SC-8c9721474116433a4cc38fff598f74c4a152c7fd.tar.xz
Also add these packet to the list of packets to be recycled. No enabled
by default
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r--OpenSim/Framework/PacketPool.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Framework/PacketPool.cs b/OpenSim/Framework/PacketPool.cs
index 4d9591e..f17d654 100644
--- a/OpenSim/Framework/PacketPool.cs
+++ b/OpenSim/Framework/PacketPool.cs
@@ -169,6 +169,8 @@ namespace OpenSim.Framework
169 { 169 {
170 // List pooling packets here 170 // List pooling packets here
171 case PacketType.PacketAck: 171 case PacketType.PacketAck:
172 case PacketType.ObjectUpdate:
173 case PacketType.ImprovedTerseObjectUpdate:
172 lock (pool) 174 lock (pool)
173 { 175 {
174 PacketType type = packet.Type; 176 PacketType type = packet.Type;