* Adding the incoming url as Param[2] in the XmlRpcRequest
parent
4cfa8b0a10
commit
0f5112ffff
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue