aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs
diff options
context:
space:
mode:
authorUbitUmarov2017-06-13 12:17:39 +0100
committerUbitUmarov2017-06-13 12:17:39 +0100
commit3ba63dde6ef773602a6c8ffa11d034a59a73f057 (patch)
tree28df9098c6261ed92912c4a0dcbcb7c33395d94a /OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs
parent remove excessive notion of paralelism (diff)
downloadopensim-SC-3ba63dde6ef773602a6c8ffa11d034a59a73f057.zip
opensim-SC-3ba63dde6ef773602a6c8ffa11d034a59a73f057.tar.gz
opensim-SC-3ba63dde6ef773602a6c8ffa11d034a59a73f057.tar.bz2
opensim-SC-3ba63dde6ef773602a6c8ffa11d034a59a73f057.tar.xz
udp is not tcp. If mono versions have bronke udp sento, better update, also having 300 threads because object select is not funny
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs6
1 files changed, 4 insertions, 2 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs
index 9aa1845..171e1cf 100644
--- a/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs
+++ b/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs
@@ -1222,7 +1222,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP
1222 outgoingPacket.SequenceNumber, isReliable, isResend, udpClient.AgentID, Scene.Name); 1222 outgoingPacket.SequenceNumber, isReliable, isResend, udpClient.AgentID, Scene.Name);
1223 1223
1224 // Put the UDP payload on the wire 1224 // Put the UDP payload on the wire
1225 AsyncBeginSend(buffer); 1225// AsyncBeginSend(buffer);
1226 SyncSend(buffer);
1226 1227
1227 // Keep track of when this packet was sent out (right now) 1228 // Keep track of when this packet was sent out (right now)
1228 outgoingPacket.TickCount = Environment.TickCount & Int32.MaxValue; 1229 outgoingPacket.TickCount = Environment.TickCount & Int32.MaxValue;
@@ -1907,7 +1908,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP
1907 1908
1908 Buffer.BlockCopy(packetData, 0, buffer.Data, 0, length); 1909 Buffer.BlockCopy(packetData, 0, buffer.Data, 0, length);
1909 1910
1910 AsyncBeginSend(buffer); 1911// AsyncBeginSend(buffer);
1912 SyncSend(buffer);
1911 } 1913 }
1912 1914
1913 protected bool IsClientAuthorized(UseCircuitCodePacket useCircuitCode, out AuthenticateResponse sessionInfo) 1915 protected bool IsClientAuthorized(UseCircuitCodePacket useCircuitCode, out AuthenticateResponse sessionInfo)