diff options
author | lbsa71 | 2008-11-25 11:45:34 +0000 |
---|---|---|
committer | lbsa71 | 2008-11-25 11:45:34 +0000 |
commit | 0f5112ffff6d547908e05ac9bfc599eaeb27f104 (patch) | |
tree | fbc3485aa9a612be4db409c443c2f087f0412c6f /OpenSim/Framework/Servers | |
parent | * First step in refactoring the login code - extracting the authentication (diff) | |
download | opensim-SC_OLD-0f5112ffff6d547908e05ac9bfc599eaeb27f104.zip opensim-SC_OLD-0f5112ffff6d547908e05ac9bfc599eaeb27f104.tar.gz opensim-SC_OLD-0f5112ffff6d547908e05ac9bfc599eaeb27f104.tar.bz2 opensim-SC_OLD-0f5112ffff6d547908e05ac9bfc599eaeb27f104.tar.xz |
* Adding the incoming url as Param[2] in the XmlRpcRequest
Diffstat (limited to 'OpenSim/Framework/Servers')
-rw-r--r-- | OpenSim/Framework/Servers/BaseHttpServer.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/OpenSim/Framework/Servers/BaseHttpServer.cs b/OpenSim/Framework/Servers/BaseHttpServer.cs index 0724e8c..e59b531 100644 --- a/OpenSim/Framework/Servers/BaseHttpServer.cs +++ b/OpenSim/Framework/Servers/BaseHttpServer.cs | |||
@@ -578,12 +578,14 @@ namespace OpenSim.Framework.Servers | |||
578 | string methodName = xmlRprcRequest.MethodName; | 578 | string methodName = xmlRprcRequest.MethodName; |
579 | if (methodName != null) | 579 | if (methodName != null) |
580 | { | 580 | { |
581 | xmlRprcRequest.Params.Add(request.RemoteIPEndPoint); | 581 | xmlRprcRequest.Params.Add(request.RemoteIPEndPoint); // Param[1] |
582 | XmlRpcResponse xmlRpcResponse; | 582 | XmlRpcResponse xmlRpcResponse; |
583 | 583 | ||
584 | XmlRpcMethod method; | 584 | XmlRpcMethod method; |
585 | if (m_rpcHandlers.TryGetValue(methodName, out method)) | 585 | if (m_rpcHandlers.TryGetValue(methodName, out method)) |
586 | { | 586 | { |
587 | xmlRprcRequest.Params.Add(request.Url); // Param[2] | ||
588 | |||
587 | try | 589 | try |
588 | { | 590 | { |
589 | xmlRpcResponse = method(xmlRprcRequest); | 591 | xmlRpcResponse = method(xmlRprcRequest); |