* 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.afrisby
parent
3a83be1721
commit
459a4b0bb5
|
@ -68,9 +68,10 @@ namespace OpenSim.Framework
|
||||||
return packet;
|
return packet;
|
||||||
}
|
}
|
||||||
|
|
||||||
private byte[] decoded_header = new byte[10];
|
|
||||||
private PacketType GetType(byte[] bytes)
|
private PacketType GetType(byte[] bytes)
|
||||||
{
|
{
|
||||||
|
byte[] decoded_header = new byte[10+8];
|
||||||
|
|
||||||
ushort id;
|
ushort id;
|
||||||
libsecondlife.PacketFrequency freq;
|
libsecondlife.PacketFrequency freq;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue