aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services/Connectors/Inventory
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Services/Connectors/Inventory')
-rw-r--r--OpenSim/Services/Connectors/Inventory/XInventoryServicesConnector.cs11
1 files changed, 4 insertions, 7 deletions
diff --git a/OpenSim/Services/Connectors/Inventory/XInventoryServicesConnector.cs b/OpenSim/Services/Connectors/Inventory/XInventoryServicesConnector.cs
index 93f9d48..574de89 100644
--- a/OpenSim/Services/Connectors/Inventory/XInventoryServicesConnector.cs
+++ b/OpenSim/Services/Connectors/Inventory/XInventoryServicesConnector.cs
@@ -62,8 +62,6 @@ namespace OpenSim.Services.Connectors
62 /// </remarks> 62 /// </remarks>
63 private int m_requestTimeoutSecs = -1; 63 private int m_requestTimeoutSecs = -1;
64 64
65 private object m_Lock = new object();
66
67 public XInventoryServicesConnector() 65 public XInventoryServicesConnector()
68 { 66 {
69 } 67 }
@@ -533,11 +531,10 @@ namespace OpenSim.Services.Connectors
533 531
534 RequestsMade++; 532 RequestsMade++;
535 533
536 string reply = string.Empty; 534 string reply
537 lock (m_Lock) 535 = SynchronousRestFormsRequester.MakeRequest(
538 reply = SynchronousRestFormsRequester.MakeRequest("POST", 536 "POST", m_ServerURI + "/xinventory",
539 m_ServerURI + "/xinventory", 537 ServerUtils.BuildQueryString(sendData), m_requestTimeoutSecs, m_Auth);
540 ServerUtils.BuildQueryString(sendData), m_requestTimeoutSecs, m_Auth);
541 538
542 Dictionary<string, object> replyData = ServerUtils.ParseXmlResponse( 539 Dictionary<string, object> replyData = ServerUtils.ParseXmlResponse(
543 reply); 540 reply);