aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/UDPServer.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/ClientStack/UDPServer.cs16
1 files changed, 12 insertions, 4 deletions
diff --git a/OpenSim/Region/ClientStack/UDPServer.cs b/OpenSim/Region/ClientStack/UDPServer.cs
index 2b2269e..64381b4 100644
--- a/OpenSim/Region/ClientStack/UDPServer.cs
+++ b/OpenSim/Region/ClientStack/UDPServer.cs
@@ -146,6 +146,14 @@ namespace OpenSim.Region.ClientStack
146 } 146 }
147 break; 147 break;
148 default: 148 default:
149 try
150 {
151 CloseEndPoint(epSender);
152 }
153 catch (System.Exception)
154 {
155 //MainLog.Instance.Verbose("UDPSERVER", a.ToString());
156 }
149 // Here's some reference code! :D 157 // Here's some reference code! :D
150 // Shutdown and restart the UDP listener! hehe 158 // Shutdown and restart the UDP listener! hehe
151 // Shiny 159 // Shiny
@@ -158,9 +166,9 @@ namespace OpenSim.Region.ClientStack
158 166
159 return; 167 return;
160 } 168 }
161 catch (System.ObjectDisposedException e) 169 catch (System.ObjectDisposedException)
162 { 170 {
163 MainLog.Instance.Debug("UDPSERVER", e.ToString()); 171 //MainLog.Instance.Debug("UDPSERVER", e.ToString());
164 return; 172 return;
165 } 173 }
166 174
@@ -170,9 +178,9 @@ namespace OpenSim.Region.ClientStack
170 { 178 {
171 packet = Packet.BuildPacket(RecvBuffer, ref packetEnd, ZeroBuffer); 179 packet = Packet.BuildPacket(RecvBuffer, ref packetEnd, ZeroBuffer);
172 } 180 }
173 catch(Exception e) 181 catch(Exception)
174 { 182 {
175 MainLog.Instance.Debug("UDPSERVER", e.ToString()); 183 //MainLog.Instance.Debug("UDPSERVER", e.ToString());
176 } 184 }
177 185
178 // do we already have a circuit for this endpoint 186 // do we already have a circuit for this endpoint