-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Avoid issuing connection attempts for already cancelled requests #66992
Avoid issuing connection attempts for already cancelled requests #66992
Conversation
Tagging subscribers to this area: @dotnet/ncl Issue DetailsFixes #66990 When checking whether to inject a new connection, check that a non-cancelled request exists, dropping any cancelled entries from the queue.
|
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.
LGTM thanks!
src/libraries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/HttpConnectionPool.cs
Show resolved
Hide resolved
src/libraries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/HttpConnectionPool.cs
Outdated
Show resolved
Hide resolved
Failure on WASM
|
Are |
Did you request outer loop? I don't see it above? |
I haven't. |
Ah - I don't know, but I don't see 'runtime-wasm' listed here runtime/eng/pipelines/libraries/variables.yml Lines 11 to 16 in baffb71
although it is here
@lewing @steveisok do you have context on whether outerloop has ever run on wasm? |
…net#66992) * Avoid issuing connection attempts for already canceled requests * Cancelled => Canceled * Guard SocketsHttpHandler tests under SocketsHttpHandler.IsSupported
…net#66992) * Avoid issuing connection attempts for already canceled requests * Cancelled => Canceled * Guard SocketsHttpHandler tests under SocketsHttpHandler.IsSupported
) (#67226) * Avoid issuing connection attempts for already canceled requests * Cancelled => Canceled * Guard SocketsHttpHandler tests under SocketsHttpHandler.IsSupported
Fixes #66990
When checking whether to inject a new connection, check that a non-cancelled request exists, dropping any cancelled entries from the queue.