diff options
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(); |