diff options
author | Diva Canto | 2010-02-02 19:41:46 -0800 |
---|---|---|
committer | Diva Canto | 2010-02-02 19:41:46 -0800 |
commit | 11ed5dee3bce9af6e222d3938de108d96d45bc49 (patch) | |
tree | 5e2b26ca7fd9fe9cf1e7b48e8e953927d08ec14c /OpenSim/Services/HypergridService | |
parent | Merge branch 'presence-refactor' of ssh://diva@opensimulator.org/var/git/open... (diff) | |
download | opensim-SC_OLD-11ed5dee3bce9af6e222d3938de108d96d45bc49.zip opensim-SC_OLD-11ed5dee3bce9af6e222d3938de108d96d45bc49.tar.gz opensim-SC_OLD-11ed5dee3bce9af6e222d3938de108d96d45bc49.tar.bz2 opensim-SC_OLD-11ed5dee3bce9af6e222d3938de108d96d45bc49.tar.xz |
Commenting UserAgentService.VerifyClient(UUID sessionID, string token) for now until I understand better the client IP issue.
Diffstat (limited to 'OpenSim/Services/HypergridService')
-rw-r--r-- | OpenSim/Services/HypergridService/UserAgentService.cs | 27 |
1 files 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 | |||
173 | 173 | ||
174 | public bool VerifyClient(UUID sessionID, string token) | 174 | public bool VerifyClient(UUID sessionID, string token) |
175 | { | 175 | { |
176 | if (m_TravelingAgents.ContainsKey(sessionID)) | 176 | return true; |
177 | { | 177 | |
178 | // Aquiles heel. Must trust the first grid upon login | 178 | // Commenting this for now until I understand better what part of a sender's |
179 | if (m_TravelingAgents[sessionID].ClientToken == string.Empty) | 179 | // info stays unchanged throughout a session |
180 | { | 180 | // |
181 | m_TravelingAgents[sessionID].ClientToken = token; | 181 | //if (m_TravelingAgents.ContainsKey(sessionID)) |
182 | return true; | 182 | //{ |
183 | } | 183 | // // Aquiles heel. Must trust the first grid upon login |
184 | return m_TravelingAgents[sessionID].ClientToken == token; | 184 | // if (m_TravelingAgents[sessionID].ClientToken == string.Empty) |
185 | } | 185 | // { |
186 | return false; | 186 | // m_TravelingAgents[sessionID].ClientToken = token; |
187 | // return true; | ||
188 | // } | ||
189 | // return m_TravelingAgents[sessionID].ClientToken == token; | ||
190 | //} | ||
191 | //return false; | ||
187 | } | 192 | } |
188 | 193 | ||
189 | public bool VerifyAgent(UUID sessionID, string token) | 194 | public bool VerifyAgent(UUID sessionID, string token) |