* 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;
|
string methodName = xmlRprcRequest.MethodName;
|
||||||
if (methodName != null)
|
if (methodName != null)
|
||||||
{
|
{
|
||||||
xmlRprcRequest.Params.Add(request.RemoteIPEndPoint);
|
xmlRprcRequest.Params.Add(request.RemoteIPEndPoint); // Param[1]
|
||||||
XmlRpcResponse xmlRpcResponse;
|
XmlRpcResponse xmlRpcResponse;
|
||||||
|
|
||||||
XmlRpcMethod method;
|
XmlRpcMethod method;
|
||||||
if (m_rpcHandlers.TryGetValue(methodName, out method))
|
if (m_rpcHandlers.TryGetValue(methodName, out method))
|
||||||
{
|
{
|
||||||
|
xmlRprcRequest.Params.Add(request.Url); // Param[2]
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
xmlRpcResponse = method(xmlRprcRequest);
|
xmlRpcResponse = method(xmlRprcRequest);
|
||||||
|
|
Loading…
Reference in New Issue