aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorJohn Hurliman2009-10-17 17:19:18 -0700
committerJohn Hurliman2009-10-17 17:19:18 -0700
commite28ac424861deafe6083b497b546cb64352f5512 (patch)
tree6db7161d6274a9378972e51538b0dfb4807dcfc2
parentAdded a description for RegionType (diff)
downloadopensim-SC_OLD-e28ac424861deafe6083b497b546cb64352f5512.zip
opensim-SC_OLD-e28ac424861deafe6083b497b546cb64352f5512.tar.gz
opensim-SC_OLD-e28ac424861deafe6083b497b546cb64352f5512.tar.bz2
opensim-SC_OLD-e28ac424861deafe6083b497b546cb64352f5512.tar.xz
Wrapped the contents of the IncomingPacketHandler loop in a try/catch statement
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs11
1 files changed, 9 insertions, 2 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs b/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs
index 8bfab6a..7a403aa 100644
--- a/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs
+++ b/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs
@@ -716,8 +716,15 @@ namespace OpenSim.Region.ClientStack.LindenUDP
716 716
717 while (base.IsRunning) 717 while (base.IsRunning)
718 { 718 {
719 if (packetInbox.Dequeue(100, ref incomingPacket)) 719 try
720 Util.FireAndForget(ProcessInPacket, incomingPacket); 720 {
721 if (packetInbox.Dequeue(100, ref incomingPacket))
722 Util.FireAndForget(ProcessInPacket, incomingPacket);
723 }
724 catch (Exception ex)
725 {
726 m_log.Error("[LLUDPSERVER]: Error in the incoming packet handler loop: " + ex.Message, ex);
727 }
721 } 728 }
722 729
723 if (packetInbox.Count > 0) 730 if (packetInbox.Count > 0)