From 2d2414adcfcf50ba1398f889c0ca301b3409e317 Mon Sep 17 00:00:00 2001 From: Diva Canto Date: Mon, 13 Jun 2016 18:04:28 -0700 Subject: Add a few more debug messages to diagnose problems in OSGrid's proxy use --- OpenSim/Server/Handlers/Login/LLLoginHandlers.cs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'OpenSim/Server/Handlers/Login/LLLoginHandlers.cs') diff --git a/OpenSim/Server/Handlers/Login/LLLoginHandlers.cs b/OpenSim/Server/Handlers/Login/LLLoginHandlers.cs index 5d672c3..48571e3 100644 --- a/OpenSim/Server/Handlers/Login/LLLoginHandlers.cs +++ b/OpenSim/Server/Handlers/Login/LLLoginHandlers.cs @@ -63,13 +63,18 @@ namespace OpenSim.Server.Handlers.Login public XmlRpcResponse HandleXMLRPCLogin(XmlRpcRequest request, IPEndPoint remoteClient) { + m_log.DebugFormat("[TEST]: HandleXMLRPCLogin from {0}", remoteClient.ToString()); Hashtable requestData = (Hashtable)request.Params[0]; if (m_Proxy && request.Params[3] != null) { + m_log.DebugFormat("[TEST]: Proxy ! {0}", request.Params[3]); IPEndPoint ep = Util.GetClientIPFromXFF((string)request.Params[3]); if (ep != null) + { // Bang! remoteClient = ep; + m_log.DebugFormat("[TEST]: IP is {0}", remoteClient.ToString()); + } } if (requestData != null) -- cgit v1.1