diff options
author | John Hurliman | 2009-11-04 16:08:23 -0800 |
---|---|---|
committer | John Hurliman | 2009-11-04 16:08:23 -0800 |
commit | f57a646638340063e22d1f38c37502afaf963137 (patch) | |
tree | ea109f74119cf552805c601bd13d3a2a697cd9a5 /OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs | |
parent | Removing EntityBase.Rotation (diff) | |
parent | Add some length to the backet buffer for packet sending so oversize (diff) | |
download | opensim-SC-f57a646638340063e22d1f38c37502afaf963137.zip opensim-SC-f57a646638340063e22d1f38c37502afaf963137.tar.gz opensim-SC-f57a646638340063e22d1f38c37502afaf963137.tar.bz2 opensim-SC-f57a646638340063e22d1f38c37502afaf963137.tar.xz |
Merge branch 'master' of ssh://opensimulator.org/var/git/opensim
Diffstat (limited to 'OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs')
-rw-r--r-- | OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs | 2 |
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 | ||