From a30866ed45185c55e2ec0fb3eaa8cbd26164f86a Mon Sep 17 00:00:00 2001 From: MW Date: Fri, 2 Nov 2007 14:54:56 +0000 Subject: [PATCH] Added temporary try catch to udpserver while testing something out (will remove later) --- OpenSim/Region/ClientStack/UDPServer.cs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/OpenSim/Region/ClientStack/UDPServer.cs b/OpenSim/Region/ClientStack/UDPServer.cs index e5965cb8d3..8314fc3823 100644 --- a/OpenSim/Region/ClientStack/UDPServer.cs +++ b/OpenSim/Region/ClientStack/UDPServer.cs @@ -118,7 +118,13 @@ namespace OpenSim.Region.ClientStack int packetEnd = numBytes - 1; - packet = Packet.BuildPacket(RecvBuffer, ref packetEnd, ZeroBuffer); + try + { + packet = Packet.BuildPacket(RecvBuffer, ref packetEnd, ZeroBuffer); + } + catch(Exception) + { + } // do we already have a circuit for this endpoint uint circuit;