HTTP/3 & QUIC: fix abort read on dispose and cancellation (#55724)
authorNatalia Kondratyeva <knatalia@microsoft.com>
Tue, 20 Jul 2021 21:08:51 +0000 (23:08 +0200)
committerGitHub <noreply@github.com>
Tue, 20 Jul 2021 21:08:51 +0000 (23:08 +0200)
commit978b0dbc5e1475be917f4237edf5b47f4c124dba
tree05142154c300faf44849e4527fc5cc0a886d64c0
parentb835c8c668a914d060a6b1029ef1e7cecdd5ad44
HTTP/3 & QUIC: fix abort read on dispose and cancellation (#55724)

Fix abort on cancellation for HTTP/3 content stream, fix dispose when read was aborted by cancellation token.
Fixes #48624
src/libraries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/Http3RequestStream.cs
src/libraries/System.Net.Http/tests/FunctionalTests/HttpClientHandlerTest.Headers.cs
src/libraries/System.Net.Http/tests/FunctionalTests/HttpClientHandlerTest.Http3.cs
src/libraries/System.Net.Quic/src/System/Net/Quic/Implementations/MsQuic/MsQuicStream.cs
src/libraries/System.Net.Quic/tests/FunctionalTests/QuicStreamTests.cs