Skip to content

Commit

Permalink
Revert "Stream blob back to client rather than read into memory."
Browse files Browse the repository at this point in the history
This reverts commit 365db14.
  • Loading branch information
Jeavon committed Mar 3, 2020
1 parent 44ce92a commit d4f1468
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/UmbracoFileSystemProviders.Azure/AzureFileSystem.cs
Expand Up @@ -640,7 +640,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 d4f1468

Please sign in to comment.