aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/Linden
diff options
context:
space:
mode:
authorUbitUmarov2019-03-20 15:09:53 +0000
committerUbitUmarov2019-03-20 15:09:53 +0000
commitd6b3413c6337f8409b78266ac987aac63a5f77e5 (patch)
tree9d256471d0ac54cae409e2f3cf4ac250d7b3979d /OpenSim/Region/ClientStack/Linden
parentlludp direct encode RegionHandshake (diff)
downloadopensim-SC-d6b3413c6337f8409b78266ac987aac63a5f77e5.zip
opensim-SC-d6b3413c6337f8409b78266ac987aac63a5f77e5.tar.gz
opensim-SC-d6b3413c6337f8409b78266ac987aac63a5f77e5.tar.bz2
opensim-SC-d6b3413c6337f8409b78266ac987aac63a5f77e5.tar.xz
RegionHandshake IS critical llupd protocol not to be done by odd modules
Diffstat (limited to 'OpenSim/Region/ClientStack/Linden')
-rw-r--r--OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs3
-rwxr-xr-xOpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs8
2 files changed, 7 insertions, 4 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
index aae4b87..50bb9ba 100644
--- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
+++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
@@ -890,7 +890,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP
890 0xff, 0xff, 0, 1, 148 // ID 148 (low frequency bigendian) zero encoded 890 0xff, 0xff, 0, 1, 148 // ID 148 (low frequency bigendian) zero encoded
891 }; 891 };
892 892
893 public void SendRegionHandshake(RegionInfo _regionInfo, RegionHandshakeArgs args) 893
894 public void SendRegionHandshake()
894 { 895 {
895 RegionInfo regionInfo = m_scene.RegionInfo; 896 RegionInfo regionInfo = m_scene.RegionInfo;
896 RegionSettings regionSettings = regionInfo.RegionSettings; 897 RegionSettings regionSettings = regionInfo.RegionSettings;
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs
index 2f73454..c899428 100755
--- a/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs
+++ b/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs
@@ -1725,11 +1725,13 @@ namespace OpenSim.Region.ClientStack.LindenUDP
1725 // circuit code to the existing child agent. This is not particularly obvious. 1725 // circuit code to the existing child agent. This is not particularly obvious.
1726 SendAckImmediate(endPoint, uccp.Header.Sequence); 1726 SendAckImmediate(endPoint, uccp.Header.Sequence);
1727 1727
1728 client.CheckViewerCaps();
1729
1730 // We only want to send initial data to new clients, not ones which are being converted from child to root.
1731 if (client != null) 1728 if (client != null)
1732 { 1729 {
1730 client.SendRegionHandshake();
1731
1732 client.CheckViewerCaps();
1733
1734 // We only want to send initial data to new clients, not ones which are being converted from child to root.
1733 bool tp = (aCircuit.teleportFlags > 0); 1735 bool tp = (aCircuit.teleportFlags > 0);
1734 // Let's delay this for TP agents, otherwise the viewer doesn't know where to get resources from 1736 // Let's delay this for TP agents, otherwise the viewer doesn't know where to get resources from
1735 if (!tp) 1737 if (!tp)