Skip to content

Conversation

@David-Engel
Copy link
Contributor

@David-Engel David-Engel commented Feb 20, 2021

Fix for #85 when MakeReadAsyncBlocking = false.

What we found was that an async continuation task would sometimes run right after cancel. The State snapshot replay logic would change _hasOpenResult without incrementing/decrementing the counter so it would get out of sync and decrement the counter with no corresponding increment. This fixes it so that we can use MakeReadAsyncBlocking = false without MARS header errors.

@David-Engel David-Engel marked this pull request as ready for review February 23, 2021 17:28
@cheenamalhotra cheenamalhotra added this to the 3.0.0-preview1 milestone Feb 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

The MARS TDS header contained errors using ASP.NET Core and EF Core connecting to Azure SQL Server

3 participants