diff options
author | Diva Canto | 2011-02-08 11:16:38 -0800 |
---|---|---|
committer | Diva Canto | 2011-02-08 11:16:38 -0800 |
commit | 34bd41d1867656d0c7b9147484f1095e5cbfdb0b (patch) | |
tree | 5ca10297217072ecdd84525a67bfa6bb7563d029 | |
parent | XFF header again -- debug. (diff) | |
download | opensim-SC_OLD-34bd41d1867656d0c7b9147484f1095e5cbfdb0b.zip opensim-SC_OLD-34bd41d1867656d0c7b9147484f1095e5cbfdb0b.tar.gz opensim-SC_OLD-34bd41d1867656d0c7b9147484f1095e5cbfdb0b.tar.bz2 opensim-SC_OLD-34bd41d1867656d0c7b9147484f1095e5cbfdb0b.tar.xz |
Comment previous debug
-rw-r--r-- | OpenSim/Server/Handlers/Simulation/AgentHandlers.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Server/Handlers/Simulation/AgentHandlers.cs b/OpenSim/Server/Handlers/Simulation/AgentHandlers.cs index 3b2c972..6a23dee 100644 --- a/OpenSim/Server/Handlers/Simulation/AgentHandlers.cs +++ b/OpenSim/Server/Handlers/Simulation/AgentHandlers.cs | |||
@@ -201,9 +201,9 @@ namespace OpenSim.Server.Handlers.Simulation | |||
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 | 203 | ||
204 | // DEBUG | 204 | //// DEBUG |
205 | foreach (object o in headers.Keys) | 205 | //foreach (object o in headers.Keys) |
206 | m_log.DebugFormat("XXX {0} = {1}", o.ToString(), (headers[o] == null? "null" : headers[o].ToString())); | 206 | // m_log.DebugFormat("XXX {0} = {1}", o.ToString(), (headers[o] == null? "null" : headers[o].ToString())); |
207 | 207 | ||
208 | string xff = "X-Forwarded-For"; | 208 | string xff = "X-Forwarded-For"; |
209 | if (headers.ContainsKey(xff.ToLower())) | 209 | if (headers.ContainsKey(xff.ToLower())) |