Add a few more debug messages to diagnose problems in OSGrid's proxy use
parent
3ef5e1a24b
commit
2d2414adcf
|
@ -63,13 +63,18 @@ namespace OpenSim.Server.Handlers.Login
|
||||||
|
|
||||||
public XmlRpcResponse HandleXMLRPCLogin(XmlRpcRequest request, IPEndPoint remoteClient)
|
public XmlRpcResponse HandleXMLRPCLogin(XmlRpcRequest request, IPEndPoint remoteClient)
|
||||||
{
|
{
|
||||||
|
m_log.DebugFormat("[TEST]: HandleXMLRPCLogin from {0}", remoteClient.ToString());
|
||||||
Hashtable requestData = (Hashtable)request.Params[0];
|
Hashtable requestData = (Hashtable)request.Params[0];
|
||||||
if (m_Proxy && request.Params[3] != null)
|
if (m_Proxy && request.Params[3] != null)
|
||||||
{
|
{
|
||||||
|
m_log.DebugFormat("[TEST]: Proxy ! {0}", request.Params[3]);
|
||||||
IPEndPoint ep = Util.GetClientIPFromXFF((string)request.Params[3]);
|
IPEndPoint ep = Util.GetClientIPFromXFF((string)request.Params[3]);
|
||||||
if (ep != null)
|
if (ep != null)
|
||||||
|
{
|
||||||
// Bang!
|
// Bang!
|
||||||
remoteClient = ep;
|
remoteClient = ep;
|
||||||
|
m_log.DebugFormat("[TEST]: IP is {0}", remoteClient.ToString());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (requestData != null)
|
if (requestData != null)
|
||||||
|
|
Loading…
Reference in New Issue