diff options
author | Diva Canto | 2009-10-11 10:23:16 -0700 |
---|---|---|
committer | Diva Canto | 2009-10-11 10:23:16 -0700 |
commit | 36dcfd2b80b36dc2cc6aa350b0c8102347c28ccc (patch) | |
tree | 3d3271b7c099037c12dc29b0fb9742b6201be9c9 /OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs | |
parent | sync PrimMesher with r46 (diff) | |
download | opensim-SC_OLD-36dcfd2b80b36dc2cc6aa350b0c8102347c28ccc.zip opensim-SC_OLD-36dcfd2b80b36dc2cc6aa350b0c8102347c28ccc.tar.gz opensim-SC_OLD-36dcfd2b80b36dc2cc6aa350b0c8102347c28ccc.tar.bz2 opensim-SC_OLD-36dcfd2b80b36dc2cc6aa350b0c8102347c28ccc.tar.xz |
* Changed logic of enabling LLProxyLoginModule to follow the new style -- true/false on the name, rather than gridmode=true.
* Better error messages on Add/Remove clients.
Diffstat (limited to 'OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs')
-rw-r--r-- | OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs b/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs index 0390277..c356f02 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs | |||
@@ -189,7 +189,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
189 | LLUDPClient udpClient; | 189 | LLUDPClient udpClient; |
190 | if (clients.TryGetValue(client.AgentId, out udpClient)) | 190 | if (clients.TryGetValue(client.AgentId, out udpClient)) |
191 | { | 191 | { |
192 | m_log.Debug("[LLUDPSERVER]: Removing LLUDPClient for " + client.Name); | 192 | m_log.Debug("[LLUDPSERVER]: Removing LLUDPClient for " + client.Name + " in " + m_scene.RegionInfo.RegionName); |
193 | udpClient.Shutdown(); | 193 | udpClient.Shutdown(); |
194 | clients.Remove(client.AgentId, udpClient.RemoteEndPoint); | 194 | clients.Remove(client.AgentId, udpClient.RemoteEndPoint); |
195 | } | 195 | } |
@@ -525,7 +525,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
525 | // Determine which agent this packet came from | 525 | // Determine which agent this packet came from |
526 | if (!clients.TryGetValue(address, out client)) | 526 | if (!clients.TryGetValue(address, out client)) |
527 | { | 527 | { |
528 | m_log.Warn("[LLUDPSERVER]: Received a " + packet.Type + " packet from an unrecognized source: " + address); | 528 | m_log.Warn("[LLUDPSERVER]: Received a " + packet.Type + " packet from an unrecognized source: " + address + " in " + m_scene.RegionInfo.RegionName); |
529 | return; | 529 | return; |
530 | } | 530 | } |
531 | 531 | ||
@@ -668,6 +668,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
668 | 668 | ||
669 | // Add the new client to our list of tracked clients | 669 | // Add the new client to our list of tracked clients |
670 | clients.Add(agentID, client.RemoteEndPoint, client); | 670 | clients.Add(agentID, client.RemoteEndPoint, client); |
671 | |||
672 | m_log.DebugFormat("[LLUDPSERVER]: Added new client {0} to region {1}", agentID, m_scene.RegionInfo.RegionName); | ||
671 | } | 673 | } |
672 | 674 | ||
673 | private void AcknowledgePacket(LLUDPClient client, uint ack, int currentTime, bool fromResend) | 675 | private void AcknowledgePacket(LLUDPClient client, uint ack, int currentTime, bool fromResend) |