mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 06:06:06 +08:00
Revert "fix CopyTo call that was breaking under mono 2.10"
This reverts commit d30971fdc2.
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user