diff options
author | Justin Clarke Casey | 2008-11-06 19:35:57 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2008-11-06 19:35:57 +0000 |
commit | 29691a3d36906c27b7fd7955184106bd6178cb83 (patch) | |
tree | 699b590bed419108729d19e519434225f78953c3 /OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs | |
parent | Mantis#2566. Thank you kindly, Diva for a patch that: (diff) | |
download | opensim-SC_OLD-29691a3d36906c27b7fd7955184106bd6178cb83.zip opensim-SC_OLD-29691a3d36906c27b7fd7955184106bd6178cb83.tar.gz opensim-SC_OLD-29691a3d36906c27b7fd7955184106bd6178cb83.tar.bz2 opensim-SC_OLD-29691a3d36906c27b7fd7955184106bd6178cb83.tar.xz |
* Test to ensure that the udp server stays active after receiving a SocketException on BeginReceive
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs b/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs index 65e8b5f..ffb3d1d 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs | |||
@@ -263,7 +263,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
263 | if (ret) | 263 | if (ret) |
264 | { | 264 | { |
265 | //if so then send packet to the packetserver | 265 | //if so then send packet to the packetserver |
266 | //m_log.DebugFormat("[UDPSERVER]: For endpoint {0} got packet {1}", epSender, packet.Type); | 266 | //m_log.DebugFormat( |
267 | // "[UDPSERVER]: For circuit {0} {1} got packet {2}", circuit, epSender, packet.Type); | ||
267 | 268 | ||
268 | m_packetServer.InPacket(circuit, packet); | 269 | m_packetServer.InPacket(circuit, packet); |
269 | } | 270 | } |
@@ -300,7 +301,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
300 | /// <param name="e"> | 301 | /// <param name="e"> |
301 | /// The exception that has triggered the reset. Can be null if there was no exception. | 302 | /// The exception that has triggered the reset. Can be null if there was no exception. |
302 | /// </param> | 303 | /// </param> |
303 | private void ResetServerEndPoint(Exception e) | 304 | protected void ResetServerEndPoint(Exception e) |
304 | { | 305 | { |
305 | try | 306 | try |
306 | { | 307 | { |