Skip to content

Commit

Permalink
Revert "Port #156 to v2 - Stream blob back to client rather than read…
Browse files Browse the repository at this point in the history
… into memory. - thanks Darren"

This reverts commit 9aa46c6.
  • Loading branch information
Jeavon committed Feb 19, 2020
1 parent f32c79e commit adff24d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/UmbracoFileSystemProviders.Azure/AzureFileSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -684,7 +684,8 @@ public Stream OpenFile(string path)
return null;
}

Stream stream = blockBlob.OpenRead();
MemoryStream stream = new MemoryStream();
blockBlob.DownloadToStream(stream);

if (stream.CanSeek)
{
Expand Down

0 comments on commit adff24d

Please sign in to comment.