From 6b4ae4f30c2091f5f6fa99dfc904cfdd42a266ea Mon Sep 17 00:00:00 2001 From: Melanie Date: Thu, 3 Nov 2011 00:23:32 +0000 Subject: Revert "fix CopyTo call that was breaking under mono 2.10" This reverts commit d30971fdc243886b8fc614c7f869530db87e10f2. --- OpenSim/Services/Connectors/SimianGrid/SimianAssetServiceConnector.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenSim/Services/Connectors/SimianGrid/SimianAssetServiceConnector.cs b/OpenSim/Services/Connectors/SimianGrid/SimianAssetServiceConnector.cs index 1771319..30d3147 100644 --- a/OpenSim/Services/Connectors/SimianGrid/SimianAssetServiceConnector.cs +++ b/OpenSim/Services/Connectors/SimianGrid/SimianAssetServiceConnector.cs @@ -473,7 +473,7 @@ namespace OpenSim.Services.Connectors.SimianGrid // Grab the asset data from the response stream using (MemoryStream stream = new MemoryStream()) { - responseStream.CopyTo(stream); + responseStream.CopyTo(stream, Int32.MaxValue); asset.Data = stream.ToArray(); } } -- cgit v1.1