aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs
diff options
context:
space:
mode:
authorJohn Hurliman2009-11-04 16:08:23 -0800
committerJohn Hurliman2009-11-04 16:08:23 -0800
commitf57a646638340063e22d1f38c37502afaf963137 (patch)
treeea109f74119cf552805c601bd13d3a2a697cd9a5 /OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs
parentRemoving EntityBase.Rotation (diff)
parentAdd some length to the backet buffer for packet sending so oversize (diff)
downloadopensim-SC_OLD-f57a646638340063e22d1f38c37502afaf963137.zip
opensim-SC_OLD-f57a646638340063e22d1f38c37502afaf963137.tar.gz
opensim-SC_OLD-f57a646638340063e22d1f38c37502afaf963137.tar.bz2
opensim-SC_OLD-f57a646638340063e22d1f38c37502afaf963137.tar.xz
Merge branch 'master' of ssh://opensimulator.org/var/git/opensim
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs b/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs
index 93946ae..93c3270 100644
--- a/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs
+++ b/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs
@@ -327,7 +327,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
327 // The vast majority of packets are less than 200 bytes, although due to asset transfers and packet splitting 327 // The vast majority of packets are less than 200 bytes, although due to asset transfers and packet splitting
328 // there are a decent number of packets in the 1000-1140 byte range. We allocate one of two sizes of data here 328 // there are a decent number of packets in the 1000-1140 byte range. We allocate one of two sizes of data here
329 // to accomodate for both common scenarios and provide ample room for ACK appending in both 329 // to accomodate for both common scenarios and provide ample room for ACK appending in both
330 int bufferSize = (dataLength > 180) ? LLUDPServer.MTU : 200; 330 int bufferSize = (dataLength > 180) ? LLUDPServer.MTU + 1000 : 200;
331 331
332 UDPPacketBuffer buffer = new UDPPacketBuffer(udpClient.RemoteEndPoint, bufferSize); 332 UDPPacketBuffer buffer = new UDPPacketBuffer(udpClient.RemoteEndPoint, bufferSize);
333 333