aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Capabilities/Handlers/WebFetchInventoryDescendents/WebFetchInvDescHandler.cs
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2011-11-25 22:46:42 +0000
committerJustin Clark-Casey (justincc)2011-11-25 22:46:42 +0000
commit676d32974adc913b2902db6cfa456c77bd52cd85 (patch)
tree267be739951c23848b00a50dd8e46027f4b0af72 /OpenSim/Capabilities/Handlers/WebFetchInventoryDescendents/WebFetchInvDescHandler.cs
parentremove some mono compiler warnings (diff)
downloadopensim-SC_OLD-676d32974adc913b2902db6cfa456c77bd52cd85.zip
opensim-SC_OLD-676d32974adc913b2902db6cfa456c77bd52cd85.tar.gz
opensim-SC_OLD-676d32974adc913b2902db6cfa456c77bd52cd85.tar.bz2
opensim-SC_OLD-676d32974adc913b2902db6cfa456c77bd52cd85.tar.xz
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.
Diffstat (limited to 'OpenSim/Capabilities/Handlers/WebFetchInventoryDescendents/WebFetchInvDescHandler.cs')
-rw-r--r--OpenSim/Capabilities/Handlers/WebFetchInventoryDescendents/WebFetchInvDescHandler.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Capabilities/Handlers/WebFetchInventoryDescendents/WebFetchInvDescHandler.cs b/OpenSim/Capabilities/Handlers/WebFetchInventoryDescendents/WebFetchInvDescHandler.cs
index 52b5f2c..04fa55c 100644
--- a/OpenSim/Capabilities/Handlers/WebFetchInventoryDescendents/WebFetchInvDescHandler.cs
+++ b/OpenSim/Capabilities/Handlers/WebFetchInventoryDescendents/WebFetchInvDescHandler.cs
@@ -117,7 +117,6 @@ namespace OpenSim.Capabilities.Handlers
117 response += inventoryitemstr; 117 response += inventoryitemstr;
118 } 118 }
119 119
120
121 if (response.Length == 0) 120 if (response.Length == 0)
122 { 121 {
123 // Ter-guess: If requests fail a lot, the client seems to stop requesting descendants. 122 // Ter-guess: If requests fail a lot, the client seems to stop requesting descendants.
@@ -135,6 +134,7 @@ namespace OpenSim.Capabilities.Handlers
135 //m_log.Debug("[CAPS] "+response); 134 //m_log.Debug("[CAPS] "+response);
136 135
137 } 136 }
137
138 return response; 138 return response;
139 } 139 }
140 140