[HTTP/3] Fix handling cancelation during QUIC connection establishment (#87971)
authorMarie Píchová <11718369+ManickaP@users.noreply.github.com>
Mon, 26 Jun 2023 11:47:16 +0000 (13:47 +0200)
committerGitHub <noreply@github.com>
Mon, 26 Jun 2023 11:47:16 +0000 (13:47 +0200)
commitd638e1e012f2e15feb98eb1099fa33cec00e1768
treec182297de9b397a042bc56e95a63be9a41a0ee7b
parent50e750073b681fd3087ae1c9526c828013b8031c
[HTTP/3] Fix handling cancelation during QUIC connection establishment (#87971)

* Fix handling cancelation during QUIC connection establishment

* Feedback

* Recreate client for each reconnect attempt
src/libraries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/ConnectHelper.cs
src/libraries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/HttpConnectionPool.cs
src/libraries/System.Net.Http/tests/FunctionalTests/HttpClientHandlerTest.Http3.cs
src/libraries/System.Net.Http/tests/StressTests/HttpStress/StressClient.cs