aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Capabilities/Handlers/FetchInventory (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-06-04Mantis #7603 -- bad folders in inventory could produce null pointer ↵Diva Canto1-1/+1
exception. Thanks for the line numbers in the exception trace.
2015-06-04Mantis #7567. Once again, avoiding prefetching linked items within linked ↵Diva Canto1-14/+0
folders. Also fixing the inventory connector GetMultipleItems, so that if everything is in the cache, it returns successfully rather than unsuccessfully.
2015-06-03Mantis #7567: added an 8-sec expiring item cache to the inventory network ↵Diva Canto4-22/+25
connector. This fixed the problem on my local test grid and generally made things faster. This cache has been needed for a while... there are many parts in the code where the sim gets an item multiple times in a short amount of time (rezzing attachs and objects, for example). Other minor changes: - added the scene as a parameter to the constructor od FetchInvDescHandler, so that I could see in which scene the handler was being called - brought linked items in linked folders back to being prefetched
2015-06-02I suspect the viewer doesn't need the target of linked items inside linked ↵Diva Canto1-14/+14
folders to go in the reply of the original request. At least my tests indicate that. Pushing this out, so that others who use linked folders a lot more can verify.
2015-06-02New unit tests for FetchInventory2 cap.Diva Canto1-0/+170
2015-06-02Mantis #7567. One of the reported log messages showed this:Diva Canto1-3/+26
09:38:40 - [LOGHTTP]: Slow handling of 15572 POST /CAPS/b12c7e98-8261-4953-b7d1-1c414c9893fc FetchInventory2 8acfbca3-13b5-434f-898c-5f4bbe8a76ff from 92.237.199.112:60083 took 62391ms FetchInventory itself wasn't taking advantage of the new inventory API. This commit fixes that.
2015-06-01Mantis #7594: putting things as they were before regarding duplicate ↵Diva Canto2-4/+42
removal. Also added test to check that duplicates are being removed. The test passes. I have no idea how duplicates would not be removed, as reported in the mantis.
2015-06-01Mantis #7594. Fixing the broken code I just introduced.Diva Canto1-1/+4
2015-06-01More on mantis #7594, this a=time addressing the reported exception, which ↵Diva Canto1-0/+3
seems to be a separate issue from the duplicate folders.
2015-06-01Mantis #7594. This should be functionally equivalent to what it was, but ↵Diva Canto1-2/+2
just in case mono has a bug in List<T>.Find, here is the Linq equivalent of distinct-ness.
2015-05-10Improved comments on fetch inventory testsDiva Canto1-1/+12
2015-05-10Added unit tests for FetchInventoryDescendents ↵Diva Canto4-0/+1257
http://wiki.secondlife.com/wiki/Linden_Lab_Official:Inventory_API#Fetch_Inventory_Descendents Also, consolidated the location of the files that handle inventory capabilities.