aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Server/Handlers
diff options
context:
space:
mode:
authorDiva Canto2011-01-17 11:19:20 -0800
committerDiva Canto2011-01-17 11:19:20 -0800
commit0aeb8981b2b147e2caf2614fbfe59bd7e4340aee (patch)
tree2e6027c80ea5d7d93b1297c79f79e4145fac5417 /OpenSim/Server/Handlers
parentMore debug messages to help track the XFF header problem. (diff)
downloadopensim-SC_OLD-0aeb8981b2b147e2caf2614fbfe59bd7e4340aee.zip
opensim-SC_OLD-0aeb8981b2b147e2caf2614fbfe59bd7e4340aee.tar.gz
opensim-SC_OLD-0aeb8981b2b147e2caf2614fbfe59bd7e4340aee.tar.bz2
opensim-SC_OLD-0aeb8981b2b147e2caf2614fbfe59bd7e4340aee.tar.xz
Brute force debug for XFF issue
Diffstat (limited to 'OpenSim/Server/Handlers')
-rw-r--r--OpenSim/Server/Handlers/Simulation/AgentHandlers.cs7
1 files changed, 7 insertions, 0 deletions
diff --git a/OpenSim/Server/Handlers/Simulation/AgentHandlers.cs b/OpenSim/Server/Handlers/Simulation/AgentHandlers.cs
index b572cb3..96821ec 100644
--- a/OpenSim/Server/Handlers/Simulation/AgentHandlers.cs
+++ b/OpenSim/Server/Handlers/Simulation/AgentHandlers.cs
@@ -200,6 +200,13 @@ namespace OpenSim.Server.Handlers.Simulation
200 200
201 // We're behind a proxy 201 // We're behind a proxy
202 Hashtable headers = (Hashtable)request["headers"]; 202 Hashtable headers = (Hashtable)request["headers"];
203
204 foreach (object o in headers.Keys)
205 {
206 if (o != null)
207 m_log.DebugFormat("[XXX] {0}", o.ToString());
208 }
209
203 if (headers.ContainsKey("X-Forwarded-For") && headers["X-Forwarded-For"] != null) 210 if (headers.ContainsKey("X-Forwarded-For") && headers["X-Forwarded-For"] != null)
204 { 211 {
205 m_log.DebugFormat("[AGENT HANDLER]: XFF is {0}", headers["X-Forwarded-For"]); 212 m_log.DebugFormat("[AGENT HANDLER]: XFF is {0}", headers["X-Forwarded-For"]);