Almost, but not quite. Commenting verification again, until I understand where 127.0.0.1 is being transformed to the local IP address. I suspect it's Adam's NAT snippets.

soprefactor
Diva Canto 2010-05-15 19:58:30 -07:00
parent 2a1e45f657
commit 74b23ff9c6
1 changed files with 4 additions and 4 deletions

View File

@ -213,15 +213,15 @@ namespace OpenSim.Services.HypergridService
public bool VerifyClient(UUID sessionID, string token)
{
m_log.DebugFormat("[USER AGENT SERVICE]: Verifying Client session {0} with token {1}", sessionID, token);
//return true;
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))
return m_TravelingAgents[sessionID].ClientToken == token;
//if (m_TravelingAgents.ContainsKey(sessionID))
// return m_TravelingAgents[sessionID].ClientToken == token;
return false;
//return false;
}
public bool VerifyAgent(UUID sessionID, string token)