diff options
author | Oren Hurvitz | 2014-04-29 09:58:03 +0300 |
---|---|---|
committer | Oren Hurvitz | 2014-04-29 07:59:17 +0100 |
commit | 88f7a833dc1176afa802060317ea78ecf6818800 (patch) | |
tree | 60453f1dd84aad3d3fd3001e1597f8f881af915b /OpenSim/Services | |
parent | Fixed the UpdateAgentInformation CAP: the viewer expects the simulator to ech... (diff) | |
download | opensim-SC-88f7a833dc1176afa802060317ea78ecf6818800.zip opensim-SC-88f7a833dc1176afa802060317ea78ecf6818800.tar.gz opensim-SC-88f7a833dc1176afa802060317ea78ecf6818800.tar.bz2 opensim-SC-88f7a833dc1176afa802060317ea78ecf6818800.tar.xz |
Improved HTTP logging
Diffstat (limited to 'OpenSim/Services')
-rw-r--r-- | OpenSim/Services/Connectors/Inventory/XInventoryServicesConnector.cs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/OpenSim/Services/Connectors/Inventory/XInventoryServicesConnector.cs b/OpenSim/Services/Connectors/Inventory/XInventoryServicesConnector.cs index d258293..85d105e 100644 --- a/OpenSim/Services/Connectors/Inventory/XInventoryServicesConnector.cs +++ b/OpenSim/Services/Connectors/Inventory/XInventoryServicesConnector.cs | |||
@@ -494,7 +494,12 @@ namespace OpenSim.Services.Connectors | |||
494 | private Dictionary<string,object> MakeRequest(string method, | 494 | private Dictionary<string,object> MakeRequest(string method, |
495 | Dictionary<string,object> sendData) | 495 | Dictionary<string,object> sendData) |
496 | { | 496 | { |
497 | sendData["METHOD"] = method; | 497 | // Add "METHOD" as the first key in the dictionary. This ensures that it will be |
498 | // visible even when using partial logging ("debug http all 5"). | ||
499 | Dictionary<string, object> temp = sendData; | ||
500 | sendData = new Dictionary<string,object>{ { "METHOD", method } }; | ||
501 | foreach (KeyValuePair<string, object> kvp in temp) | ||
502 | sendData.Add(kvp.Key, kvp.Value); | ||
498 | 503 | ||
499 | string reply = string.Empty; | 504 | string reply = string.Empty; |
500 | lock (m_Lock) | 505 | lock (m_Lock) |