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.
|
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.