diff options
author | John Hurliman | 2009-10-30 00:08:41 -0700 |
---|---|---|
committer | John Hurliman | 2009-10-30 00:08:41 -0700 |
commit | a05c67bebb8a504858706619335c035948907158 (patch) | |
tree | 2882739f215c14b6ab3e4628111daa048346d327 /OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs | |
parent | * Fixed a NullReferenceException in GetMovementAnimation() and added more pro... (diff) | |
download | opensim-SC-a05c67bebb8a504858706619335c035948907158.zip opensim-SC-a05c67bebb8a504858706619335c035948907158.tar.gz opensim-SC-a05c67bebb8a504858706619335c035948907158.tar.bz2 opensim-SC-a05c67bebb8a504858706619335c035948907158.tar.xz |
* Fixes issue #4329 "llDialog fails silently" by updating OpenMetaverse.dll
* Prints a warning for any future packet splitting failures
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs b/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs index a211508..9792bcd 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs | |||
@@ -256,8 +256,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
256 | byte[][] datas = packet.ToBytesMultiple(); | 256 | byte[][] datas = packet.ToBytesMultiple(); |
257 | int packetCount = datas.Length; | 257 | int packetCount = datas.Length; |
258 | 258 | ||
259 | //if (packetCount > 1) | 259 | if (packetCount < 1) |
260 | // m_log.Debug("[LLUDPSERVER]: Split " + packet.Type + " packet into " + packetCount + " packets"); | 260 | m_log.Error("[LLUDPSERVER]: Failed to split " + packet.Type + " with estimated length " + packet.Length); |
261 | 261 | ||
262 | for (int i = 0; i < packetCount; i++) | 262 | for (int i = 0; i < packetCount; i++) |
263 | { | 263 | { |
@@ -295,8 +295,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
295 | byte[][] datas = packet.ToBytesMultiple(); | 295 | byte[][] datas = packet.ToBytesMultiple(); |
296 | int packetCount = datas.Length; | 296 | int packetCount = datas.Length; |
297 | 297 | ||
298 | //if (packetCount > 1) | 298 | if (packetCount < 1) |
299 | // m_log.Debug("[LLUDPSERVER]: Split " + packet.Type + " packet into " + packetCount + " packets"); | 299 | m_log.Error("[LLUDPSERVER]: Failed to split " + packet.Type + " with estimated length " + packet.Length); |
300 | 300 | ||
301 | for (int i = 0; i < packetCount; i++) | 301 | for (int i = 0; i < packetCount; i++) |
302 | { | 302 | { |