diff options
author | Dr Scofield | 2009-05-18 16:10:48 +0000 |
---|---|---|
committer | Dr Scofield | 2009-05-18 16:10:48 +0000 |
commit | a8855560632b09aedeae66d449391d73000d6b5f (patch) | |
tree | 551f94e12f08ba9d321e3000ed3daf62148115ec /OpenSim/Region/ClientStack/LindenUDP | |
parent | logging ACL list additions (diff) | |
download | opensim-SC_OLD-a8855560632b09aedeae66d449391d73000d6b5f.zip opensim-SC_OLD-a8855560632b09aedeae66d449391d73000d6b5f.tar.gz opensim-SC_OLD-a8855560632b09aedeae66d449391d73000d6b5f.tar.bz2 opensim-SC_OLD-a8855560632b09aedeae66d449391d73000d6b5f.tar.xz |
From: Chris Yeoh <yeohc@au1.ibm.com>
We've encountered problems with textures never fully downloading and
objects not moving or being deleted (from the client's point of view)
even when the bandwidth settings on the client have been set very
low. This can happen over reasonably lossy links (eg you're on the
other side of the world from the server) as the server retries 3 times
and then gives up.
Whilst its possible to set ReliableIsImportant, this forces the server
to keep retrying no matter what which potentially could lead to
problems. This patch allows for the setting of MaxReliableResends
explicitly (is set to 3 normally) in OpenSim.ini so if you know you
will have clients connecting with poor connections you can set it a
bit higher (10-15 works quite well even for very poor connections).
Diffstat (limited to 'OpenSim/Region/ClientStack/LindenUDP')
-rw-r--r-- | OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs index 4d6b35b..f6a326f 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | |||
@@ -532,7 +532,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
532 | m_PacketHandler.ReliableIsImportant = | 532 | m_PacketHandler.ReliableIsImportant = |
533 | clientConfig.GetBoolean("ReliableIsImportant", | 533 | clientConfig.GetBoolean("ReliableIsImportant", |
534 | false); | 534 | false); |
535 | 535 | m_PacketHandler.MaxReliableResends = clientConfig.GetInt("MaxReliableResends", | |
536 | m_PacketHandler.MaxReliableResends); | ||
536 | m_primTerseUpdatesPerPacket = clientConfig.GetInt("TerseUpdatesPerPacket", | 537 | m_primTerseUpdatesPerPacket = clientConfig.GetInt("TerseUpdatesPerPacket", |
537 | m_primTerseUpdatesPerPacket); | 538 | m_primTerseUpdatesPerPacket); |
538 | m_primFullUpdatesPerPacket = clientConfig.GetInt("FullUpdatesPerPacket", | 539 | m_primFullUpdatesPerPacket = clientConfig.GetInt("FullUpdatesPerPacket", |