Brute force debug for XFF issue

viewer-2-initial-appearance
Diva Canto 2011-01-17 11:19:20 -08:00
parent 66f99ae267
commit 0aeb8981b2
1 changed files with 7 additions and 0 deletions

View File

@ -200,6 +200,13 @@ namespace OpenSim.Server.Handlers.Simulation
// We're behind a proxy
Hashtable headers = (Hashtable)request["headers"];
foreach (object o in headers.Keys)
{
if (o != null)
m_log.DebugFormat("[XXX] {0}", o.ToString());
}
if (headers.ContainsKey("X-Forwarded-For") && headers["X-Forwarded-For"] != null)
{
m_log.DebugFormat("[AGENT HANDLER]: XFF is {0}", headers["X-Forwarded-For"]);