mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 16:22:50 +08:00
* Adding the incoming url as Param[2] in the XmlRpcRequest
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user