Implement the FetchInventoryDescendents2 capability using the same code as WebFetchInventoryDescendents.

Enabling this by setting Cap_FetchInventoryDescendents2 = "localhost" in the [ClientStack.LindenCaps] section of OpenSim.ini downloads inventory via http rather than udp in later viewers.
This commit is contained in:
Justin Clark-Casey (justincc)
2011-11-25 22:46:42 +00:00
parent b785f204ce
commit 676d32974a
3 changed files with 47 additions and 23 deletions

View File

@@ -117,7 +117,6 @@ namespace OpenSim.Capabilities.Handlers
response += inventoryitemstr;
}
if (response.Length == 0)
{
// Ter-guess: If requests fail a lot, the client seems to stop requesting descendants.
@@ -135,6 +134,7 @@ namespace OpenSim.Capabilities.Handlers
//m_log.Debug("[CAPS] "+response);
}
return response;
}