Skip to content

Fix query cancellation on timeout for netstandard - #5357

Merged
vonzshik merged 1 commit into
mainfrom
5356-net-standard-cancellation-on-timeout-fix
Oct 29, 2023
Merged

vonzshik merged 1 commit into
mainfrom
5356-net-standard-cancellation-on-timeout-fix

Conversation

@vonzshik

Copy link
Copy Markdown
Contributor

Fixes #5356

We went a bit too far in #4415 and made it so we never send a cancellation request on timeouts with netstandard 2.0. This pr fixes that.

@vonzshik
vonzshik requested a review from roji as a code owner October 28, 2023 18:22
@vonzshik
vonzshik merged commit 6b1e70c into main Oct 29, 2023
@vonzshik
vonzshik deleted the 5356-net-standard-cancellation-on-timeout-fix branch October 29, 2023 15:02
vonzshik added a commit that referenced this pull request Oct 29, 2023
vonzshik added a commit that referenced this pull request Oct 29, 2023
@vonzshik

Copy link
Copy Markdown
Contributor Author

Backported to 7.0.7 via a95b5aa, 6.0.11 via 10f4b11.

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.

CommandTimeout on classic .Net Framework ExecuteReader leaves command executing on DB

2 participants