mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 06:06:06 +08:00
* Changing the "clean dropped attachments" MySQL command to a using statement inside a try/catch. This statement times out for me very frequently
* More verbose logging when zerocoding fails on an outbound packet
This commit is contained in:
@@ -285,7 +285,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||
// The packet grew larger than the bufferSize while zerocoding.
|
||||
// Remove the MSG_ZEROCODED flag and send the unencoded data
|
||||
// instead
|
||||
m_log.Debug("[LLUDPSERVER]: Packet exceeded buffer size during zerocoding for " + type + ". Removing MSG_ZEROCODED flag");
|
||||
m_log.Debug("[LLUDPSERVER]: Packet exceeded buffer size during zerocoding for " + type + ". DataLength=" + dataLength +
|
||||
" and BufferLength=" + buffer.Data.Length + ". Removing MSG_ZEROCODED flag");
|
||||
data[0] = (byte)(data[0] & ~Helpers.MSG_ZEROCODED);
|
||||
Buffer.BlockCopy(data, 0, buffer.Data, 0, dataLength);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user