From 11ed5dee3bce9af6e222d3938de108d96d45bc49 Mon Sep 17 00:00:00 2001 From: Diva Canto Date: Tue, 2 Feb 2010 19:41:46 -0800 Subject: Commenting UserAgentService.VerifyClient(UUID sessionID, string token) for now until I understand better the client IP issue. --- .../Services/HypergridService/UserAgentService.cs | 27 +++++++++++++--------- 1 file changed, 16 insertions(+), 11 deletions(-) diff --git a/OpenSim/Services/HypergridService/UserAgentService.cs b/OpenSim/Services/HypergridService/UserAgentService.cs index 97e3705..15379b5 100644 --- a/OpenSim/Services/HypergridService/UserAgentService.cs +++ b/OpenSim/Services/HypergridService/UserAgentService.cs @@ -173,17 +173,22 @@ namespace OpenSim.Services.HypergridService public bool VerifyClient(UUID sessionID, string token) { - if (m_TravelingAgents.ContainsKey(sessionID)) - { - // Aquiles heel. Must trust the first grid upon login - if (m_TravelingAgents[sessionID].ClientToken == string.Empty) - { - m_TravelingAgents[sessionID].ClientToken = token; - return true; - } - return m_TravelingAgents[sessionID].ClientToken == token; - } - return false; + return true; + + // Commenting this for now until I understand better what part of a sender's + // info stays unchanged throughout a session + // + //if (m_TravelingAgents.ContainsKey(sessionID)) + //{ + // // Aquiles heel. Must trust the first grid upon login + // if (m_TravelingAgents[sessionID].ClientToken == string.Empty) + // { + // m_TravelingAgents[sessionID].ClientToken = token; + // return true; + // } + // return m_TravelingAgents[sessionID].ClientToken == token; + //} + //return false; } public bool VerifyAgent(UUID sessionID, string token) -- cgit v1.1