diff options
author | Diva Canto | 2011-02-08 07:50:01 -0800 |
---|---|---|
committer | Diva Canto | 2011-02-08 07:50:01 -0800 |
commit | 305c755cfbf92b47ccf6823c38d7f9f01a2b03e2 (patch) | |
tree | 1229dfbe78b9037477aa001f8ec24bf0decf7104 /OpenSim | |
parent | Mantis #5368 -- exception on WorldMap (diff) | |
download | opensim-SC_OLD-305c755cfbf92b47ccf6823c38d7f9f01a2b03e2.zip opensim-SC_OLD-305c755cfbf92b47ccf6823c38d7f9f01a2b03e2.tar.gz opensim-SC_OLD-305c755cfbf92b47ccf6823c38d7f9f01a2b03e2.tar.bz2 opensim-SC_OLD-305c755cfbf92b47ccf6823c38d7f9f01a2b03e2.tar.xz |
XFF header again -- debug.
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Server/Handlers/Simulation/AgentHandlers.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Server/Handlers/Simulation/AgentHandlers.cs b/OpenSim/Server/Handlers/Simulation/AgentHandlers.cs index c3545aa..3b2c972 100644 --- a/OpenSim/Server/Handlers/Simulation/AgentHandlers.cs +++ b/OpenSim/Server/Handlers/Simulation/AgentHandlers.cs | |||
@@ -200,6 +200,11 @@ 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 | // DEBUG | ||
205 | foreach (object o in headers.Keys) | ||
206 | m_log.DebugFormat("XXX {0} = {1}", o.ToString(), (headers[o] == null? "null" : headers[o].ToString())); | ||
207 | |||
203 | string xff = "X-Forwarded-For"; | 208 | string xff = "X-Forwarded-For"; |
204 | if (headers.ContainsKey(xff.ToLower())) | 209 | if (headers.ContainsKey(xff.ToLower())) |
205 | xff = xff.ToLower(); | 210 | xff = xff.ToLower(); |