* Fixed an issue where the PacketPool would ZeroDecodeCommand into a too small buffer.

The new buffer size is based on analysis of real data, not on knowledge; this should be reviewed by the original PacketPool author.
This commit is contained in:
lbsa71
2008-01-02 12:12:36 +00:00
parent 3a83be1721
commit 459a4b0bb5

View File

@@ -68,9 +68,10 @@ namespace OpenSim.Framework
return packet;
}
private byte[] decoded_header = new byte[10];
private PacketType GetType(byte[] bytes)
{
byte[] decoded_header = new byte[10+8];
ushort id;
libsecondlife.PacketFrequency freq;