* Adding the incoming url as Param[2] in the XmlRpcRequest

This commit is contained in:
lbsa71
2008-11-25 11:45:34 +00:00
parent 4cfa8b0a10
commit 0f5112ffff

View File

@@ -578,12 +578,14 @@ namespace OpenSim.Framework.Servers
string methodName = xmlRprcRequest.MethodName;
if (methodName != null)
{
xmlRprcRequest.Params.Add(request.RemoteIPEndPoint);
xmlRprcRequest.Params.Add(request.RemoteIPEndPoint); // Param[1]
XmlRpcResponse xmlRpcResponse;
XmlRpcMethod method;
if (m_rpcHandlers.TryGetValue(methodName, out method))
{
xmlRprcRequest.Params.Add(request.Url); // Param[2]
try
{
xmlRpcResponse = method(xmlRprcRequest);