aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--OpenSim/Framework/Servers/BaseHttpServer.cs10
1 files changed, 8 insertions, 2 deletions
diff --git a/OpenSim/Framework/Servers/BaseHttpServer.cs b/OpenSim/Framework/Servers/BaseHttpServer.cs
index e0cc697..d6f0630 100644
--- a/OpenSim/Framework/Servers/BaseHttpServer.cs
+++ b/OpenSim/Framework/Servers/BaseHttpServer.cs
@@ -605,9 +605,15 @@ namespace OpenSim.Framework.Servers
605 { 605 {
606 xmlRprcRequest.Params.Add(request.RemoteIPEndPoint); // Param[1] 606 xmlRprcRequest.Params.Add(request.RemoteIPEndPoint); // Param[1]
607 XmlRpcResponse xmlRpcResponse; 607 XmlRpcResponse xmlRpcResponse;
608 608
609 XmlRpcMethod method; 609 XmlRpcMethod method;
610 if (m_rpcHandlers.TryGetValue(methodName, out method)) 610 bool methodWasFound;
611 lock (m_rpcHandlers)
612 {
613 methodWasFound = m_rpcHandlers.TryGetValue(methodName, out method);
614 }
615
616 if (methodWasFound)
611 { 617 {
612 xmlRprcRequest.Params.Add(request.Url); // Param[2] 618 xmlRprcRequest.Params.Add(request.Url); // Param[2]
613 619