diff options
author | Diva Canto | 2009-08-25 06:17:36 -0700 |
---|---|---|
committer | Diva Canto | 2009-08-25 06:17:36 -0700 |
commit | cfd9cf7b18331a9d2117294f6ba23dd03a9423a1 (patch) | |
tree | 9c22d0ed8b0e0f3b97ab00d847884b71975f0344 /OpenSim/Services | |
parent | Merge branch 'master' of ssh://melanie@opensimulator.org/var/git/opensim (diff) | |
download | opensim-SC_OLD-cfd9cf7b18331a9d2117294f6ba23dd03a9423a1.zip opensim-SC_OLD-cfd9cf7b18331a9d2117294f6ba23dd03a9423a1.tar.gz opensim-SC_OLD-cfd9cf7b18331a9d2117294f6ba23dd03a9423a1.tar.bz2 opensim-SC_OLD-cfd9cf7b18331a9d2117294f6ba23dd03a9423a1.tar.xz |
Closed the web request and stream in SynchronousRestSessionObjectPoster -- maybe this is the cause of some timeouts seen in some monos?
Diffstat (limited to 'OpenSim/Services')
-rw-r--r-- | OpenSim/Services/Connectors/Inventory/InventoryServiceConnector.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Services/Connectors/Inventory/InventoryServiceConnector.cs b/OpenSim/Services/Connectors/Inventory/InventoryServiceConnector.cs index 423ca75..a2261ba 100644 --- a/OpenSim/Services/Connectors/Inventory/InventoryServiceConnector.cs +++ b/OpenSim/Services/Connectors/Inventory/InventoryServiceConnector.cs | |||
@@ -229,6 +229,11 @@ namespace OpenSim.Services.Connectors | |||
229 | return SynchronousRestSessionObjectPoster<Guid, InventoryCollection>.BeginPostObject( | 229 | return SynchronousRestSessionObjectPoster<Guid, InventoryCollection>.BeginPostObject( |
230 | "POST", m_ServerURI + "/GetFolderContent/", folderID.Guid, sessionID.ToString(), userID.ToString()); | 230 | "POST", m_ServerURI + "/GetFolderContent/", folderID.Guid, sessionID.ToString(), userID.ToString()); |
231 | } | 231 | } |
232 | catch (TimeoutException e) | ||
233 | { | ||
234 | m_log.ErrorFormat("[INVENTORY CONNECTOR]: GetFolderContent operation to {0} timed out {0} {1}.", m_ServerURI, | ||
235 | e.Source, e.Message); | ||
236 | } | ||
232 | catch (Exception e) | 237 | catch (Exception e) |
233 | { | 238 | { |
234 | // Maybe we're talking to an old inventory server. Try this other thing. | 239 | // Maybe we're talking to an old inventory server. Try this other thing. |