diff options
author | Justin Clarke Casey | 2008-03-29 22:18:44 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2008-03-29 22:18:44 +0000 |
commit | 875211b262ecda2eced68b217221dead20cbdb6b (patch) | |
tree | e84ecb6149076e71ce6d9fedeea5f0c49ca46d93 /OpenSim/Grid/InventoryServer/Main.cs | |
parent | * Updating ODE Libraries to release / dNODEBUG (diff) | |
download | opensim-SC-875211b262ecda2eced68b217221dead20cbdb6b.zip opensim-SC-875211b262ecda2eced68b217221dead20cbdb6b.tar.gz opensim-SC-875211b262ecda2eced68b217221dead20cbdb6b.tar.bz2 opensim-SC-875211b262ecda2eced68b217221dead20cbdb6b.tar.xz |
* Various 1.19.0.5 grid inventory request fixes. These will only take affect once the region and the grid servers have upgraded to this revision
* You may also need to clear your cache before seeing any effect.
* These fixes may or may not affect inventory on the RC client.
* These fixes should make non-root folders work better, stop inventory failure on first login, allow trash to be emptied and make texture picker in object edit view work properly
* Fixes are 1) make initial root folder request wait for async inventory delivery, 2) deliver all folders in the initial login skeleton, not just the root child ones and 3) deal
with situations where we receive child folders from the inventory service before their parent is received.
Diffstat (limited to 'OpenSim/Grid/InventoryServer/Main.cs')
-rw-r--r-- | OpenSim/Grid/InventoryServer/Main.cs | 31 |
1 files changed, 17 insertions, 14 deletions
diff --git a/OpenSim/Grid/InventoryServer/Main.cs b/OpenSim/Grid/InventoryServer/Main.cs index ea056a0..009f3f1 100644 --- a/OpenSim/Grid/InventoryServer/Main.cs +++ b/OpenSim/Grid/InventoryServer/Main.cs | |||
@@ -83,29 +83,32 @@ namespace OpenSim.Grid.InventoryServer | |||
83 | protected void AddHttpHandlers() | 83 | protected void AddHttpHandlers() |
84 | { | 84 | { |
85 | m_httpServer.AddStreamHandler( | 85 | m_httpServer.AddStreamHandler( |
86 | new RestDeserialisehandler<Guid, InventoryCollection>("POST", "/GetInventory/", | 86 | new RestDeserialisehandler<Guid, InventoryCollection>( |
87 | m_inventoryService.GetUserInventory)); | 87 | "POST", "/GetInventory/", m_inventoryService.GetUserInventory)); |
88 | |||
88 | m_httpServer.AddStreamHandler( | 89 | m_httpServer.AddStreamHandler( |
89 | new RestDeserialisehandler<Guid, bool>("POST", "/CreateInventory/", | 90 | new RestDeserialisehandler<Guid, bool>( |
90 | m_inventoryService.CreateUsersInventory)); | 91 | "POST", "/CreateInventory/", m_inventoryService.CreateUsersInventory)); |
92 | |||
91 | m_httpServer.AddStreamHandler( | 93 | m_httpServer.AddStreamHandler( |
92 | new RestDeserialisehandler<InventoryFolderBase, bool>("POST", "/NewFolder/", | 94 | new RestDeserialisehandler<InventoryFolderBase, bool>( |
93 | m_inventoryService.AddInventoryFolder)); | 95 | "POST", "/NewFolder/", m_inventoryService.AddInventoryFolder)); |
94 | 96 | ||
95 | m_httpServer.AddStreamHandler( | 97 | m_httpServer.AddStreamHandler( |
96 | new RestDeserialisehandler<InventoryFolderBase, bool>("POST", "/MoveFolder/", | 98 | new RestDeserialisehandler<InventoryFolderBase, bool>( |
97 | m_inventoryService.MoveInventoryFolder)); | 99 | "POST", "/MoveFolder/", m_inventoryService.MoveInventoryFolder)); |
98 | 100 | ||
99 | m_httpServer.AddStreamHandler( | 101 | m_httpServer.AddStreamHandler( |
100 | new RestDeserialisehandler<InventoryItemBase, bool>("POST", "/NewItem/", | 102 | new RestDeserialisehandler<InventoryItemBase, bool>( |
101 | m_inventoryService.AddInventoryItem)); | 103 | "POST", "/NewItem/", m_inventoryService.AddInventoryItem)); |
104 | |||
102 | m_httpServer.AddStreamHandler( | 105 | m_httpServer.AddStreamHandler( |
103 | new RestDeserialisehandler<InventoryItemBase, bool>("POST", "/DeleteItem/", | 106 | new RestDeserialisehandler<InventoryItemBase, bool>( |
104 | m_inventoryService.DeleteInvItem)); | 107 | "POST", "/DeleteItem/", m_inventoryService.DeleteInvItem)); |
105 | 108 | ||
106 | m_httpServer.AddStreamHandler( | 109 | m_httpServer.AddStreamHandler( |
107 | new RestDeserialisehandler<Guid, List<InventoryFolderBase>>("POST", "/RootFolders/", | 110 | new RestDeserialisehandler<Guid, List<InventoryFolderBase>> |
108 | m_inventoryService.RequestFirstLevelFolders)); | 111 | ("POST", "/RootFolders/", m_inventoryService.GetInventorySkeleton)); |
109 | 112 | ||
110 | // httpServer.AddStreamHandler(new InventoryManager.GetInventory(m_inventoryManager)); | 113 | // httpServer.AddStreamHandler(new InventoryManager.GetInventory(m_inventoryManager)); |
111 | } | 114 | } |