aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs
diff options
context:
space:
mode:
authorJohn Hurliman2009-10-18 20:24:20 -0700
committerJohn Hurliman2009-10-18 20:24:20 -0700
commit233e16b99cc80190d41143ecdfe01308eb39932a (patch)
tree340a75427ec8fc9082a0f543021dbfebacdb3033 /OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs
parent* Process the avatar terse update priority queue as soon as an update for our... (diff)
downloadopensim-SC-233e16b99cc80190d41143ecdfe01308eb39932a.zip
opensim-SC-233e16b99cc80190d41143ecdfe01308eb39932a.tar.gz
opensim-SC-233e16b99cc80190d41143ecdfe01308eb39932a.tar.bz2
opensim-SC-233e16b99cc80190d41143ecdfe01308eb39932a.tar.xz
* Rewrote the methods that build ObjectUpdate and ImprovedTerseObjectUpdate packets to fill in the data more accurately and avoid allocating memory that is immediately thrown away
* Changed the Send*Data structs in IClientAPI to use public readonly members instead of private members and getters * Made Parallel.ProcessorCount public * Started switching over packet building methods in LLClientView to use Util.StringToBytes[256/1024]() instead of Utils.StringToBytes() * More cleanup of the ScenePresences vs. ClientManager nightmare * ScenePresence.HandleAgentUpdate() will now time out and drop incoming AgentUpdate packets after three seconds. This fixes a deadlock on m_AgentUpdates that was blocking up the LLUDP server
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs b/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs
index 4f3478b..66e1468 100644
--- a/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs
+++ b/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs
@@ -733,10 +733,10 @@ namespace OpenSim.Region.ClientStack.LindenUDP
733 // on to en-US to avoid number parsing issues 733 // on to en-US to avoid number parsing issues
734 Culture.SetCurrentCulture(); 734 Culture.SetCurrentCulture();
735 735
736 IncomingPacket incomingPacket = null;
737
738 while (base.IsRunning) 736 while (base.IsRunning)
739 { 737 {
738 IncomingPacket incomingPacket = null;
739
740 try 740 try
741 { 741 {
742 if (packetInbox.Dequeue(100, ref incomingPacket)) 742 if (packetInbox.Dequeue(100, ref incomingPacket))