You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 20, 2018. It is now read-only.
Since we're using Task as the IAsyncResult implementation which never sets CompletedSynchronously to true, the easiest fix would be to dispatch the callback (aka Task.Run)
The null ref described in this issue Azure/azure-storage-net#202 occurs because of a bug in the Azure sdk and a bug in http abstractions. ReferernceReadStream implements BeginRead using ReadAsync (https://github.com/aspnet/HttpAbstractions/blob/dev/src/Microsoft.AspNetCore.Http/Internal/ReferenceReadStream.cs#L128), the code in ReadAsync always calls the callback, even if ReadAsync completes synchronously. This can cause stackoverflows in calling code and bugs like the null reference one in the storage sdk.
/cc @Tratcher
The text was updated successfully, but these errors were encountered: