-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Fix HttpConnectionPool timers race on disposal #72615
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…der lock and check for disposed
|
Tagging subscribers to this area: @dotnet/ncl Issue DetailsAccess _authorityExpireTimer and _altSvcBlocklistTimerCancellation under lock and check for disposed. Fixes #66782.
|
|
|
||
| Assert.Null(connectTimeoutException.InnerException); | ||
| Assert.DoesNotContain("42", e.ToString()); | ||
| Assert.DoesNotContain("HttpClient.Timeout", e.ToString()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cc @MihaZupan it failed because some line number in the stacktrace contained 42 😄
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🤦♂️ Thanks for fixing this
MihaZupan
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Access _authorityExpireTimer and _altSvcBlocklistTimerCancellation under lock and check for disposed.
Fixes #66782.