aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServerCommands.cs
diff options
context:
space:
mode:
authorUbitUmarov2015-09-22 18:39:59 +0100
committerUbitUmarov2015-09-22 18:39:59 +0100
commita8dc07ff5c0ba1c09e9a5beaf76f3b078670c74f (patch)
treee3d088abe02e6a6f53cf8e5c412b0402212c7000 /OpenSim/Region/ClientStack/Linden/UDP/LLUDPServerCommands.cs
parentlast merging of sog m_linkedAvatars into m_sittingAvatars - untested. (diff)
downloadopensim-SC_OLD-a8dc07ff5c0ba1c09e9a5beaf76f3b078670c74f.zip
opensim-SC_OLD-a8dc07ff5c0ba1c09e9a5beaf76f3b078670c74f.tar.gz
opensim-SC_OLD-a8dc07ff5c0ba1c09e9a5beaf76f3b078670c74f.tar.bz2
opensim-SC_OLD-a8dc07ff5c0ba1c09e9a5beaf76f3b078670c74f.tar.xz
removed a protocol breaking lludp debug option that no one should try, changed terrain send throotle to be by packets in queue, reduced odds of MTU violation on terrain send (still bad). Most UDP protocol implementations may not mind much, but our code still does
Diffstat (limited to 'OpenSim/Region/ClientStack/Linden/UDP/LLUDPServerCommands.cs')
-rw-r--r--OpenSim/Region/ClientStack/Linden/UDP/LLUDPServerCommands.cs29
1 files changed, 3 insertions, 26 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServerCommands.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServerCommands.cs
index 3dab5d2..6e6a2d1 100644
--- a/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServerCommands.cs
+++ b/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServerCommands.cs
@@ -558,6 +558,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
558 m_console.OutputFormat("{0} set to {1} in {2}", param, rawValue, m_udpServer.Scene.Name); 558 m_console.OutputFormat("{0} set to {1} in {2}", param, rawValue, m_udpServer.Scene.Name);
559 } 559 }
560 560
561/* not in use, nothing to set/get from lludp
561 private void HandleClientGetCommand(string module, string[] args) 562 private void HandleClientGetCommand(string module, string[] args)
562 { 563 {
563 if (SceneManager.Instance.CurrentScene != null && SceneManager.Instance.CurrentScene != m_udpServer.Scene) 564 if (SceneManager.Instance.CurrentScene != null && SceneManager.Instance.CurrentScene != m_udpServer.Scene)
@@ -584,11 +585,6 @@ namespace OpenSim.Region.ClientStack.LindenUDP
584 m_console.OutputFormat( 585 m_console.OutputFormat(
585 "Client debug parameters for {0} ({1}) in {2}", 586 "Client debug parameters for {0} ({1}) in {2}",
586 sp.Name, sp.IsChildAgent ? "child" : "root", m_udpServer.Scene.Name); 587 sp.Name, sp.IsChildAgent ? "child" : "root", m_udpServer.Scene.Name);
587
588 ConsoleDisplayList cdl = new ConsoleDisplayList();
589 cdl.AddRow("process-unacked-sends", udpClient.ProcessUnackedSends);
590
591 m_console.Output(cdl.ToString());
592 } 588 }
593 }); 589 });
594 } 590 }
@@ -611,28 +607,9 @@ namespace OpenSim.Region.ClientStack.LindenUDP
611 607
612 if (args.Length == 8) 608 if (args.Length == 8)
613 name = string.Format("{0} {1}", args[6], args[7]); 609 name = string.Format("{0} {1}", args[6], args[7]);
614 610 // nothing here now
615 if (param == "process-unacked-sends")
616 {
617 bool newValue;
618
619 if (!ConsoleUtil.TryParseConsoleBool(MainConsole.Instance, rawValue, out newValue))
620 return;
621
622 m_udpServer.Scene.ForEachScenePresence(
623 sp =>
624 {
625 if ((name == null || sp.Name == name) && sp.ControllingClient is LLClientView)
626 {
627 LLUDPClient udpClient = ((LLClientView)sp.ControllingClient).UDPClient;
628 udpClient.ProcessUnackedSends = newValue;
629
630 m_console.OutputFormat("{0} set to {1} for {2} in {3}", param, newValue, sp.Name, m_udpServer.Scene.Name);
631 }
632 });
633 }
634 } 611 }
635 612*/
636 private void HandlePacketCommand(string module, string[] args) 613 private void HandlePacketCommand(string module, string[] args)
637 { 614 {
638 if (SceneManager.Instance.CurrentScene != null && SceneManager.Instance.CurrentScene != m_udpServer.Scene) 615 if (SceneManager.Instance.CurrentScene != null && SceneManager.Instance.CurrentScene != m_udpServer.Scene)