diff options
author | Melanie Thielker | 2009-05-02 00:20:35 +0000 |
---|---|---|
committer | Melanie Thielker | 2009-05-02 00:20:35 +0000 |
commit | 8c9721474116433a4cc38fff598f74c4a152c7fd (patch) | |
tree | cc6657addd517be475ad8bf993495dc7ea8f6dbe | |
parent | Fix the issue that stopped the packet pool from working. Add a mechanism (diff) | |
download | opensim-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
-rw-r--r-- | OpenSim/Framework/PacketPool.cs | 2 |
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; |