aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorDr Scofield2009-05-18 16:10:48 +0000
committerDr Scofield2009-05-18 16:10:48 +0000
commita8855560632b09aedeae66d449391d73000d6b5f (patch)
tree551f94e12f08ba9d321e3000ed3daf62148115ec
parentlogging ACL list additions (diff)
downloadopensim-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).
-rw-r--r--OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs3
-rw-r--r--bin/OpenSim.ini.example5
2 files changed, 6 insertions, 2 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",
diff --git a/bin/OpenSim.ini.example b/bin/OpenSim.ini.example
index d54734a..f379516 100644
--- a/bin/OpenSim.ini.example
+++ b/bin/OpenSim.ini.example
@@ -1255,7 +1255,10 @@
1255[LLClient] 1255[LLClient]
1256 ; Resend packets markes as reliable until they are received 1256 ; Resend packets markes as reliable until they are received
1257 ;ReliableIsImportant = false 1257 ;ReliableIsImportant = false
1258 1258
1259 ; Maximum number of times to resend packets marked reliable
1260 ;MaxReliableResends = 3
1261
1259 ; Configures how ObjectUpdates are compressed. 1262 ; Configures how ObjectUpdates are compressed.
1260 ;TerseUpdatesPerPacket=10 1263 ;TerseUpdatesPerPacket=10
1261 ;FullUpdatesPerPacket=14 1264 ;FullUpdatesPerPacket=14