Revert "fix CopyTo call that was breaking under mono 2.10"

This reverts commit d30971fdc2.
This commit is contained in:
Melanie
2011-11-03 00:23:32 +00:00
parent 99a347ee11
commit 6b4ae4f30c

View File

@@ -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();
}
}